]> granicus.if.org Git - python/commitdiff
Remove the --verify option in favor of the standard -n/--dry-run option
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 9 Apr 2003 12:35:51 +0000 (12:35 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 9 Apr 2003 12:35:51 +0000 (12:35 +0000)
Lib/distutils/command/register.py

index e4a379939b876cfed6cf465aeaca79c0bf442594..8e347ce6dc397c3c5a4ece84fbd14b2a7659b5ba 100644 (file)
@@ -22,8 +22,6 @@ class register(Command):
     user_options = [
         ('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'),
         ('show-response', None,
@@ -33,7 +31,6 @@ class register(Command):
 
     def initialize_options(self):
         self.repository = None
-        self.verify = 0
         self.show_response = 0
         self.list_classifiers = 0
 
@@ -43,7 +40,7 @@ class register(Command):
 
     def run(self):
         self.check_metadata()
-        if self.verify:
+        if self.dry_run:
             self.verify_metadata()
         elif self.list_classifiers:
             self.classifiers()