Mercurial > hg > autobot
changeset 297:43e472db4353
STUB: autobot/projects/__init__.py autobot/projects/toolbox/__init__.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 11 May 2014 09:14:41 -0700 |
parents | 3fb63aa336b3 |
children | f6dff9fd3f5b |
files | autobot/projects/__init__.py autobot/projects/toolbox/__init__.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/autobot/projects/__init__.py Sun May 11 08:47:50 2014 -0700 +++ b/autobot/projects/__init__.py Sun May 11 09:14:41 2014 -0700 @@ -25,6 +25,8 @@ for module in os.listdir(here) if module.endswith('.py') and not module.startswith('_')] packages.extend(modules) + +# load the packages for package in packages: try: module = imp.load_package('autobot.projects.'+package, imp.find_module(package, [here])[1])
--- a/autobot/projects/toolbox/__init__.py Sun May 11 08:47:50 2014 -0700 +++ b/autobot/projects/toolbox/__init__.py Sun May 11 09:14:41 2014 -0700 @@ -5,11 +5,9 @@ class TestToolbox(PythonSourceFactory): """ an index of software tools: - https://github.com/k0s/toolbox """ - sources = {'hg': [], - 'git': ['git://github.com/k0s/toolbox.git']} + sources = {'hg': ['http://k0s.org/hg/toolbox'],} def __init__(self): PythonSourceFactory.__init__(self, name='toolbox')