diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2003-04-09 12:35:51 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2003-04-09 12:35:51 (GMT) |
commit | 058a84f36ae62dc69f4cb2a07d038e10a617fffc (patch) | |
tree | edd68e66a80fbd9e926d905da2c6e05a9d824839 | |
parent | fcd845a7edba3ce1302bf1ea8360aa9b4b387fb3 (diff) | |
download | cpython-058a84f36ae62dc69f4cb2a07d038e10a617fffc.zip cpython-058a84f36ae62dc69f4cb2a07d038e10a617fffc.tar.gz cpython-058a84f36ae62dc69f4cb2a07d038e10a617fffc.tar.bz2 |
Remove the --verify option in favor of the standard -n/--dry-run option
-rw-r--r-- | Lib/distutils/command/register.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/distutils/command/register.py b/Lib/distutils/command/register.py index e4a3799..8e347ce 100644 --- a/Lib/distutils/command/register.py +++ b/Lib/distutils/command/register.py @@ -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() |