summaryrefslogtreecommitdiff
path: root/pecan/commands
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2012-03-05 15:23:08 -0500
committerRyan Petrello <lists@ryanpetrello.com>2012-03-05 15:59:53 -0500
commit7ba057b4d2f8f7ad3735f98f6deacb5d6df0e736 (patch)
treed53e2e6ab01689051bf150b00cda82a29446489b /pecan/commands
parent4d18835e9fea93042c965ab0719c222cfcef22b6 (diff)
downloadpecan-7ba057b4d2f8f7ad3735f98f6deacb5d6df0e736.tar.gz
Changing `conf.app.modules` and `conf.app.root` to string representations.
Diffstat (limited to 'pecan/commands')
-rw-r--r--pecan/commands/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pecan/commands/base.py b/pecan/commands/base.py
index b630274..63e2efd 100644
--- a/pecan/commands/base.py
+++ b/pecan/commands/base.py
@@ -35,7 +35,7 @@ class Command(paste_command.Command):
def get_package_names(self, config):
if not hasattr(config.app, 'modules'):
return []
- return [module.__name__ for module in config.app.modules if hasattr(module, '__name__')]
+ return config.app.modules
def import_module(self, package, name):
parent = __import__(package, fromlist=[name])