yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject yetus git commit: YETUS-606. jenkins-admin --help should not use .py
Date Fri, 27 Jul 2018 17:40:55 GMT
Repository: yetus
Updated Branches:
  refs/heads/master 449013fad -> e37f76335


YETUS-606. jenkins-admin --help should not use .py

Signed-off-by: Jack Bearden <jack@jackbearden.com>
Signed-off-by: Sean Busbey <busbey@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/e37f7633
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/e37f7633
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/e37f7633

Branch: refs/heads/master
Commit: e37f76335e9cf8ae0a1a0a50c8d6b9f8d73a2619
Parents: 449013f
Author: Allen Wittenauer <aw@apache.org>
Authored: Thu Jul 19 12:02:34 2018 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Fri Jul 27 10:40:21 2018 -0700

----------------------------------------------------------------------
 precommit/jenkins/jenkins-admin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/e37f7633/precommit/jenkins/jenkins-admin.py
----------------------------------------------------------------------
diff --git a/precommit/jenkins/jenkins-admin.py b/precommit/jenkins/jenkins-admin.py
index af46556..f6ffdfe 100755
--- a/precommit/jenkins/jenkins-admin.py
+++ b/precommit/jenkins/jenkins-admin.py
@@ -88,7 +88,7 @@ def parseJiraData(fileName):
 
 
 if __name__ == '__main__':
-    parser = OptionParser()
+    parser = OptionParser(prog = 'jenkins-admin')
     if os.getenv('JENKINS_URL'):
         parser.set_defaults(jenkinsUrl=os.getenv('JENKINS_URL'))
     if os.getenv('JOB_NAME'):


Mime
View raw message