summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/dist.py
diff options
context:
space:
mode:
authorJeremy Kloth <jeremy.kloth@gmail.com>2011-09-12 17:12:42 (GMT)
committerJeremy Kloth <jeremy.kloth@gmail.com>2011-09-12 17:12:42 (GMT)
commitaa2b442bdccf68c191a0023084b1160804fb5e4c (patch)
tree6e6b9ade0d959ea36e21fa72d1f308215e7fc80c /Lib/packaging/dist.py
parent4c3124c2b94add8cc168ebe29aa47f0f7326d7d8 (diff)
downloadcpython-aa2b442bdccf68c191a0023084b1160804fb5e4c.zip
cpython-aa2b442bdccf68c191a0023084b1160804fb5e4c.tar.gz
cpython-aa2b442bdccf68c191a0023084b1160804fb5e4c.tar.bz2
Factor out the distribution file-system safe name functions from install_distinfo to allow all metadata consumers access to them.
Diffstat (limited to 'Lib/packaging/dist.py')
-rw-r--r--Lib/packaging/dist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/packaging/dist.py b/Lib/packaging/dist.py
index f1441d1..de718cc 100644
--- a/Lib/packaging/dist.py
+++ b/Lib/packaging/dist.py
@@ -228,8 +228,8 @@ Common commands: (see '--help-commands' for more)
d = self.command_options[command] = {}
return d
- def get_fullname(self):
- return self.metadata.get_fullname()
+ def get_fullname(self, filesafe=False):
+ return self.metadata.get_fullname(filesafe)
def dump_option_dicts(self, header=None, commands=None, indent=""):
from pprint import pformat