aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastermain/management/commands/buildimport.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/toaster/toastermain/management/commands/buildimport.py')
-rw-r--r--lib/toaster/toastermain/management/commands/buildimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/toastermain/management/commands/buildimport.py b/lib/toaster/toastermain/management/commands/buildimport.py
index 9af54ec2f..3e246fda8 100644
--- a/lib/toaster/toastermain/management/commands/buildimport.py
+++ b/lib/toaster/toastermain/management/commands/buildimport.py
@@ -505,7 +505,7 @@ class Command(BaseCommand):
default_release = Release.objects.get(id=1)
# SANITY: if 'reconfig' but project does not exist (deleted externally), switch to 'import'
- if ("reconfigure" == options['command']) and (None == project):
+ if ("reconfigure" == options['command']) and project is None:
options['command'] = 'import'
# 'Configure':