summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-10-09 01:59:18 -0400
committerChris McDonough <chrism@plope.com>2011-10-09 01:59:18 -0400
commit4fcc38ffaee7715ebd8af9824257f2e0ceccbd4c (patch)
tree9833938ec41e24da2bd60198cf2bf9af05cb1315
parente8989daf6c46209d5a5a722275afb5d47401c0d9 (diff)
downloadpyramid-4fcc38ffaee7715ebd8af9824257f2e0ceccbd4c.tar.gz
pyramid-4fcc38ffaee7715ebd8af9824257f2e0ceccbd4c.tar.bz2
pyramid-4fcc38ffaee7715ebd8af9824257f2e0ceccbd4c.zip
remove unused code
-rw-r--r--pyramid/scripts/proutes.py2
-rw-r--r--pyramid/scripts/pserve.py1
-rw-r--r--pyramid/scripts/pshell.py3
-rw-r--r--pyramid/scripts/ptweens.py2
-rw-r--r--pyramid/scripts/pviews.py2
5 files changed, 0 insertions, 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()