[Python-checkins] r43371 - peps/trunk/pep2pyramid.py

david.goodger python-checkins at python.org
Tue Mar 28 03:27:31 CEST 2006


Author: david.goodger
Date: Tue Mar 28 03:27:28 2006
New Revision: 43371
Modified:
 peps/trunk/pep2pyramid.py
Log:
added -k/--keep-going option
Modified: peps/trunk/pep2pyramid.py
==============================================================================
--- peps/trunk/pep2pyramid.py	(original)
+++ peps/trunk/pep2pyramid.py	Tue Mar 28 03:27:28 2006
@@ -13,6 +13,9 @@
 -f, --force
 Force the rebuilding of output files, regardless of modification times.
 
+-k, --keep-going
+ Continue building past errors if possible.
+
 -q, --quiet
 Turn off verbose messages.
 
@@ -518,8 +521,8 @@
 
 try:
 opts, args = getopt.getopt(
- argv, 'd:fhq',
- ['destdir=', 'force', 'help', 'quiet'])
+ argv, 'hd:fkq',
+ ['help', 'destdir=', 'force', 'keep-going', 'quiet'])
 except getopt.error, msg:
 usage(1, msg)
 
@@ -530,6 +533,8 @@
 settings.dest_dir_base = arg
 elif opt in ('-f', '--force'):
 settings.force_rebuild = True
+ elif opt in ('-k', '--keep-going'):
+ settings.force_rebuild = True
 elif opt in ('-q', '--quiet'):
 settings.verbose = False
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /