catalyst: use a more pythonic method to import modules
authorDylan Baker <baker.dylan.c@gmail.com>
Sun, 13 Oct 2013 09:07:36 +0000 (02:07 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 26 Oct 2013 17:22:39 +0000 (10:22 -0700)
commit1762a4c10f5e30cc98a32ef45a07f35b87257b55
treebb378b0accc78bc8dbea739724cc07ec91e33db2
parent9f40cc448cb2b52c90af86e0dc14a5cc61359ba8
catalyst: use a more pythonic method to import modules

Rather than appending a directory to the system path, this patch adds a
__init__.py file to modules, which allows python to search it, and it's
children for python modules. This also requires changes to a few of the
module files to make them happy.

Reviewed-by: Matt Turner <mattst88@gmail.com>
catalyst
modules/__init__.py [new file with mode: 0644]
modules/catalyst/config.py