projects
/
tools
/
python-jenkinsapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a8e84d
)
Use longer variable name
author
Hugh Brown
<hbrown@amplify.com>
Thu, 10 Oct 2013 23:11:03 +0000
(19:11 -0400)
committer
Hugh Brown
<hbrown@amplify.com>
Thu, 10 Oct 2013 23:32:14 +0000
(19:32 -0400)
jenkinsapi/command_line/jenkins_invoke.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/command_line/jenkins_invoke.py
b/jenkinsapi/command_line/jenkins_invoke.py
index
da5dbcc
..
6425dd3
100644
(file)
--- a/
jenkinsapi/command_line/jenkins_invoke.py
+++ b/
jenkinsapi/command_line/jenkins_invoke.py
@@
-41,8
+41,8
@@
class JenkinsInvoke(object):
options, args = parser.parse_args()
try:
assert len(args) > 0, "Need to specify at least one job name"
- except AssertionError
, e
:
- log.critical(e[0])
+ except AssertionError
as err
:
+ log.critical(e
rr
[0])
parser.print_help()
sys.exit(1)
invoker = cls(options, args)