Don't try to set repo to org after we've already changed org

This commit is contained in:
jesopo 2019-05-17 10:28:34 +01:00
parent 5513cc3a80
commit eaee51f677

View file

@ -116,8 +116,8 @@ class Module(ModuleManager.BaseModule):
default_org, _, default_repo = default_repo.partition("/")
if org and not repo:
org = default_org
repo = org or default_repo
org = default_org
else:
org = org or default_org
repo = repo or default_repo