summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/scripts/pdistreport.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyramid/scripts/pdistreport.py b/pyramid/scripts/pdistreport.py
index c090d3311..64837a36c 100644
--- a/pyramid/scripts/pdistreport.py
+++ b/pyramid/scripts/pdistreport.py
@@ -13,9 +13,9 @@ def out(*args): # pragma: no cover
def main(argv=sys.argv, pkg_resources=pkg_resources, platform=platform.platform,
out=out):
# all args except argv are for unit testing purposes only
- description = "Show Python distribution versions and locations in use"
- usage = "usage: %(prog)s"
- parser = argparse.ArgumentParser(usage, description=description)
+ parser = argparse.ArgumentParser(
+ usage="%(prog)s",
+ description="Show Python distribution versions and locations in use")
parser.parse_args(argv[1:])
packages = []
for distribution in pkg_resources.working_set: