From 4fcc38ffaee7715ebd8af9824257f2e0ceccbd4c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Oct 2011 01:59:18 -0400 Subject: remove unused code --- pyramid/scripts/proutes.py | 2 -- pyramid/scripts/pserve.py | 1 - pyramid/scripts/pshell.py | 3 --- pyramid/scripts/ptweens.py | 2 -- pyramid/scripts/pviews.py | 2 -- 5 files changed, 10 deletions(-) diff --git a/pyramid/scripts/proutes.py b/pyramid/scripts/proutes.py index fb1cf2059..0e0b345a8 100644 --- a/pyramid/scripts/proutes.py +++ b/pyramid/scripts/proutes.py @@ -27,8 +27,6 @@ class PRoutesCommand(object): """ bootstrap = (bootstrap,) summary = "Print all URL dispatch routes related to a Pyramid application" - min_args = 1 - max_args = 1 stdout = sys.stdout parser = optparse.OptionParser() diff --git a/pyramid/scripts/pserve.py b/pyramid/scripts/pserve.py index 8adcf4135..53e15c773 100644 --- a/pyramid/scripts/pserve.py +++ b/pyramid/scripts/pserve.py @@ -35,7 +35,6 @@ class DaemonizeException(Exception): class PServeCommand(object): - min_args = 0 usage = 'CONFIG_FILE [start|stop|restart|status] [var=value]' takes_config_file = 1 summary = ("Serve the application described in CONFIG_FILE or control " diff --git a/pyramid/scripts/pshell.py b/pyramid/scripts/pshell.py index 0bc5c34b4..499d96aca 100644 --- a/pyramid/scripts/pshell.py +++ b/pyramid/scripts/pshell.py @@ -35,9 +35,6 @@ class PShellCommand(object): bootstrap = (bootstrap,) # for testing summary = "Open an interactive shell with a Pyramid application loaded" - min_args = 1 - max_args = 1 - parser = optparse.OptionParser() parser.add_option('-d', '--disable-ipython', action='store_true', diff --git a/pyramid/scripts/ptweens.py b/pyramid/scripts/ptweens.py index 556b43254..81b4ae307 100644 --- a/pyramid/scripts/ptweens.py +++ b/pyramid/scripts/ptweens.py @@ -32,8 +32,6 @@ class PTweensCommand(object): """ summary = "Print all tweens related to a Pyramid application" - min_args = 1 - max_args = 1 stdout = sys.stdout parser = optparse.OptionParser() diff --git a/pyramid/scripts/pviews.py b/pyramid/scripts/pviews.py index 8d3048633..2ff9d6ed2 100644 --- a/pyramid/scripts/pviews.py +++ b/pyramid/scripts/pviews.py @@ -29,8 +29,6 @@ class PViewsCommand(object): """ summary = "Print all views in an application that might match a URL" - min_args = 2 - max_args = 2 stdout = sys.stdout parser = optparse.OptionParser() -- cgit v1.2.3