aboutsummaryrefslogtreecommitdiff
path: root/modules/github
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-17 10:28:34 +0100
committerGravatar jesopo2019-05-17 10:28:34 +0100
commiteaee51f67703d3d90412807c771cea782df9ca4e (patch)
tree8c92793067478333ad5ed453b39f4912c77ddd26 /modules/github
parentchange REGEX_ISSUE to actually accept a repo name without org name (diff)
signature
Don't try to set `repo` to `org` after we've already changed `org`
Diffstat (limited to 'modules/github')
-rw-r--r--modules/github/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py
index 97d983b0..36886299 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -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