Remove the --verify option in favor of the standard -n/--dry-run option

This commit is contained in:
Andrew M. Kuchling 2003-04-09 12:35:51 +00:00
parent fcd845a7ed
commit 058a84f36a
1 changed files with 1 additions and 4 deletions

View File

@ -22,8 +22,6 @@ class register(Command):
user_options = [ user_options = [
('repository=', 'r', ('repository=', 'r',
"url of repository [default: %s]"%DEFAULT_REPOSITORY), "url of repository [default: %s]"%DEFAULT_REPOSITORY),
('verify', None,
'verify the package metadata for correctness'),
('list-classifiers', None, ('list-classifiers', None,
'list the valid Trove classifiers'), 'list the valid Trove classifiers'),
('show-response', None, ('show-response', None,
@ -33,7 +31,6 @@ class register(Command):
def initialize_options(self): def initialize_options(self):
self.repository = None self.repository = None
self.verify = 0
self.show_response = 0 self.show_response = 0
self.list_classifiers = 0 self.list_classifiers = 0
@ -43,7 +40,7 @@ class register(Command):
def run(self): def run(self):
self.check_metadata() self.check_metadata()
if self.verify: if self.dry_run:
self.verify_metadata() self.verify_metadata()
elif self.list_classifiers: elif self.list_classifiers:
self.classifiers() self.classifiers()