base should not take care of checking paths

This commit is contained in:
Alfredo Deza
2013-01-22 21:29:08 -05:00
parent 78b1aece2b
commit ab967ccc09

View File

@@ -144,6 +144,4 @@ class BaseCommand(object):
def load_app(self):
from pecan import load_app
if not os.path.isfile(self.args.config_file):
raise RuntimeError('`%s` is not a file.' % self.args.config_file)
return load_app(self.args.config_file)