summaryrefslogtreecommitdiff
path: root/bin/just-mr.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/just-mr.py')
-rwxr-xr-xbin/just-mr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/just-mr.py b/bin/just-mr.py
index be845f83..b7a6162d 100755
--- a/bin/just-mr.py
+++ b/bin/just-mr.py
@@ -194,7 +194,7 @@ def read_config(configfile: str) -> Json:
def git_root(*, upstream: Optional[str]) -> str:
- if upstream and upstream in g_GIT_CHECKOUT_LOCATIONS:
+ if upstream is not None and upstream in g_GIT_CHECKOUT_LOCATIONS:
return g_GIT_CHECKOUT_LOCATIONS[upstream]
elif upstream and os.path.isabs(upstream) and os.path.isdir(upstream):
return upstream