summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/just-import-git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/just-import-git.py b/bin/just-import-git.py
index 9b9f1023..51603696 100755
--- a/bin/just-import-git.py
+++ b/bin/just-import-git.py
@@ -186,7 +186,7 @@ def name_imports(to_import, existing, base_name, main=None):
if (candidate not in existing) and (candidate not in assign):
return candidate
- if main and (base_name not in existing):
+ if main is not None and (base_name not in existing):
assign[main] = base_name
to_import = [x for x in to_import if x != main]
for repo in to_import: