summaryrefslogtreecommitdiff
path: root/src/distutils2/dist.py
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2010-06-06 11:39:32 +0200
committer?ric Araujo <merwok@netwok.org>2010-06-06 11:39:32 +0200
commit21a31cc158b6fb7c404b2dfa787b0554c050c417 (patch)
tree28216155e192bb09d6174689bd91ec3f261a68d5 /src/distutils2/dist.py
parent915a80c621d347c6cf8124d026257f4755210ac3 (diff)
downloaddisutils2-21a31cc158b6fb7c404b2dfa787b0554c050c417.tar.gz
Rename a method for greater consistency
Diffstat (limited to 'src/distutils2/dist.py')
-rw-r--r--src/distutils2/dist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/distutils2/dist.py b/src/distutils2/dist.py
index 86b2ee0..c1088d7 100644
--- a/src/distutils2/dist.py
+++ b/src/distutils2/dist.py
@@ -885,7 +885,7 @@ Common commands: (see '--help-commands' for more)
except ValueError, msg:
raise DistutilsOptionError, msg
- def reinitialize_command(self, command, reinit_subcommands=0):
+ def get_reinitialized_command(self, command, reinit_subcommands=0):
"""Reinitializes a command to the state it was in when first
returned by 'get_command_obj()': ie., initialized but not yet
finalized. This provides the opportunity to sneak option
@@ -920,7 +920,7 @@ Common commands: (see '--help-commands' for more)
if reinit_subcommands:
for sub in command.get_sub_commands():
- self.reinitialize_command(sub, reinit_subcommands)
+ self.get_reinitialized_command(sub, reinit_subcommands)
return command