summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-07-06 02:28:09 -0500
committerMichael Merickel <michael@merickel.org>2011-07-06 02:28:09 -0500
commit26d135bae9aa1b24774a76053b22e9202e0421bb (patch)
treeeb4b83f875c5a3a46cbc4a4fdbbb9c073f9710c1
parent7b1a206b06610dc482219d12bcd00e1d47fe4517 (diff)
downloadpyramid-26d135bae9aa1b24774a76053b22e9202e0421bb.tar.gz
pyramid-26d135bae9aa1b24774a76053b22e9202e0421bb.tar.bz2
pyramid-26d135bae9aa1b24774a76053b22e9202e0421bb.zip
Fixed a small bug in pviews initialization.
-rw-r--r--pyramid/paster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/paster.py b/pyramid/paster.py
index 9683da043..2e732bce4 100644
--- a/pyramid/paster.py
+++ b/pyramid/paster.py
@@ -485,7 +485,7 @@ class PViewsCommand(PCommand):
self.out("%sview predicates (%s)" % (indent, predicate_text))
def command(self):
- app_spec, url = self.args[0]
+ app_spec, url = self.args
if not url.startswith('/'):
url = '/%s' % url
app = self.get_app(app_spec, loadapp=self.loadapp[0])