Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Commit

Permalink
opening issue #28
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Frasca committed Jan 4, 2015
1 parent fb62788 commit fad078c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bauble/pluginmgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,9 @@ def install(plugins_to_install, import_defaults=True, force=False):
for p in to_install:
#debug('install: %s' % p.__name__)
p.install(import_defaults=import_defaults)
# TODO: here we make sure we don't add the plugin to the
# registry twice but we should really update the version
# number in the future when we accept versioned plugins
# (if ever)
# issue #28: here we make sure we don't add the plugin to the
# registry twice but we should really update the version number
# in the future when we accept versioned plugins (if ever)
if not PluginRegistry.exists(p):
PluginRegistry.add(p)
except Exception, e:
Expand Down

0 comments on commit fad078c

Please sign in to comment.