Skip to content

Commit 0bcdd57

Browse files
committed
fix issues after PR
1 parent 6078abe commit 0bcdd57

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ python setup.py install
88
# Usage:
99

1010
```bash
11-
jenkins-cli [-h] [--host jenkins-url] [--username username]
11+
jenkins [-h] [--host jenkins-url] [--username username]
1212
[--password password]
1313
{jobs,queue,building,start,info,set_branch,stop,console} ...
1414
```

jenkins_cli/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import argparse
2+
from jenkins import JenkinsException
3+
24
from jenkins_cli.cli import JenkinsCli, CliException
35

6+
47
def main():
58
parser = argparse.ArgumentParser(prog='jenkins',
69
#usage='%(prog)s',
@@ -44,7 +47,7 @@ def main():
4447
args = parser.parse_args()
4548
try:
4649
JenkinsCli(args).run_command(args)
47-
except jenkins.JenkinsException as e:
50+
except JenkinsException as e:
4851
print e
4952
except KeyboardInterrupt:
5053
print "Aborted"

0 commit comments

Comments
 (0)