Skip to content

Commit

Permalink
minor pep8 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed Oct 17, 2012
1 parent 495119a commit 9122066
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/python/moa/plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ def initialize(self):
l.debug('Start plugin init')
successfully_loaded = []
for plugin in self.pluginList:
l.debug("Loading plugin %s" % plugin)
self.config[plugin] = Yaco.Yaco()
pyModule = self.config[plugin].module
try:
#print plugin, pyModule
_m = __import__(pyModule, globals(), locals(), ['git'], -1)
self.config[plugin]['loaded_module'] = _m
successfully_loaded.append(pyModule)
except ImportError, e:
except ImportError:
sys.stderr.write(
"ERROR - Plugin %s is not (properly) installed\n" % plugin)
if '-v' in sys.argv or '-vv' in sys.argv:
Expand Down

0 comments on commit 9122066

Please sign in to comment.