summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-08 05:20:42 -0400
committerChris McDonough <chrism@plope.com>2011-08-08 05:20:42 -0400
commitff165d793fced779ae6f73fda347a60597177a69 (patch)
tree38b36df4fcb5320fa1fc10df6a249edfe9ee1d7e
parent4cce7990b99f52c85e07362042c5fdb16dafa825 (diff)
downloadpyramid-ff165d793fced779ae6f73fda347a60597177a69.tar.gz
pyramid-ff165d793fced779ae6f73fda347a60597177a69.tar.bz2
pyramid-ff165d793fced779ae6f73fda347a60597177a69.zip
reverse names in paster ptweens
-rw-r--r--pyramid/paster.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyramid/paster.py b/pyramid/paster.py
index 46d45f801..47f9ebc34 100644
--- a/pyramid/paster.py
+++ b/pyramid/paster.py
@@ -577,21 +577,21 @@ class PTweensCommand(PCommand):
self.out(fmt % ('Position', 'Name', 'Alias'))
self.out(fmt % (
'-'*len('Position'), '-'*len('Name'), '-'*len('Alias')))
- self.out(fmt % ('-', '-', MAIN))
+ self.out(fmt % ('-', '-', INGRESS))
for pos, (name, _) in enumerate(implicit):
alias = tweens.name_to_alias.get(name, None)
self.out(fmt % (pos, name, alias))
- self.out(fmt % ('-', '-', INGRESS))
+ self.out(fmt % ('-', '-', MAIN))
def show_explicit(self, tweens):
explicit = tweens.explicit
fmt = '%-10s %-65s'
self.out(fmt % ('Position', 'Name'))
self.out(fmt % ('-'*len('Position'), '-'*len('Name')))
- self.out(fmt % ('-', MAIN))
+ self.out(fmt % ('-', INGRESS))
for pos, (name, _) in enumerate(explicit):
self.out(fmt % (pos, name))
- self.out(fmt % ('-', INGRESS))
+ self.out(fmt % ('-', MAIN))
def command(self):
config_uri = self.args[0]