[Python-checkins] python/dist/src/Lib/distutils/command register.py,1.5,1.6

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
2003年4月09日 05:35:53 -0700


Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory sc8-pr-cvs1:/tmp/cvs-serv8646
Modified Files:
	register.py 
Log Message:
Remove the --verify option in favor of the standard -n/--dry-run option
Index: register.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/register.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** register.py	3 Mar 2003 18:26:01 -0000	1.5
--- register.py	9 Apr 2003 12:35:51 -0000	1.6
***************
*** 23,28 ****
 ('repository=', 'r',
 "url of repository [default: %s]"%DEFAULT_REPOSITORY),
- ('verify', None,
- 'verify the package metadata for correctness'),
 ('list-classifiers', None,
 'list the valid Trove classifiers'),
--- 23,26 ----
***************
*** 34,38 ****
 def initialize_options(self):
 self.repository = None
- self.verify = 0
 self.show_response = 0
 self.list_classifiers = 0
--- 32,35 ----
***************
*** 44,48 ****
 def run(self):
 self.check_metadata()
! if self.verify:
 self.verify_metadata()
 elif self.list_classifiers:
--- 41,45 ----
 def run(self):
 self.check_metadata()
! if self.dry_run:
 self.verify_metadata()
 elif self.list_classifiers:

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