incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject svn commit: r1675452 - /incubator/public/trunk/report_runbook.py
Date Wed, 22 Apr 2015 18:23:45 GMT
Author: johndament
Date: Wed Apr 22 18:23:44 2015
New Revision: 1675452

URL: http://svn.apache.org/r1675452
Log:
Mark month as required since its too confusing when its 0

Modified:
    incubator/public/trunk/report_runbook.py

Modified: incubator/public/trunk/report_runbook.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/report_runbook.py?rev=1675452&r1=1675451&r2=1675452&view=diff
==============================================================================
--- incubator/public/trunk/report_runbook.py (original)
+++ incubator/public/trunk/report_runbook.py Wed Apr 22 18:23:44 2015
@@ -195,7 +195,7 @@ def strip_indent(text):
 def process_cli_args():
     parser = argparse.ArgumentParser()
     parser.add_argument('--apache-id', type=str, required=True)
-    parser.add_argument('--month', type=int, default=0, help="1-12")
+    parser.add_argument('--month', type=int, required=True, help="1-12")
     options = vars(parser.parse_args())
     now = datetime.datetime.now()
     if options['month'] >= now.month:



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message