Skip to content

Commit

Permalink
CLI: fix discovery of method to execute
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Feb 14, 2016
1 parent b79af1d commit 7260684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitlab/cli.py
Expand Up @@ -375,6 +375,7 @@ def main():
"do_%s" % action]:
if hasattr(cli, test):
method = test
break

if method is None:
sys.stderr.write("Don't know how to deal with this!\n")
Expand Down

0 comments on commit 7260684

Please sign in to comment.