Skip to content

Commit

Permalink
Remove debugging messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntouran committed May 6, 2022
1 parent 5584f45 commit 8477eaf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions armi/apps.py
Expand Up @@ -119,16 +119,12 @@ def _registerUserPlugins(self):
OSs.
"""
userPluginInput = os.environ.get("ARMI_USER_PLUGINS", "")
print(userPluginInput)
if not userPluginInput:
return
for pluginSpec in userPluginInput.split(","):
print(pluginSpec)
names = pluginSpec.split(".")
print(names)
modPath = ".".join(names[:-1])
clsName = names[-1]
print(modPath, clsName)
mod = importlib.import_module(modPath)
plugin = getattr(mod, clsName)
self._pm.register(plugin)
Expand Down

0 comments on commit 8477eaf

Please sign in to comment.