[molecule.specs] remove molecule-plugins specific code from core

This commit is contained in:
Fabio Erculiani
2013-03-23 16:04:28 +00:00
parent 5be5b58729
commit aea35c79e7
2 changed files with 1 additions and 9 deletions
-1
View File
@@ -207,7 +207,6 @@ class PluginFactory:
modpath = "%s.%s" % (pkg_modname, modname,)
modules.append(modpath)
plugin_modules = self._PLUGIN_MODULES
if plugin_modules:
modules.extend(plugin_modules.split(":"))
+1 -8
View File
@@ -114,7 +114,7 @@ class GenericSpecFunctions(object):
convert_to_unicode(x).split(",") if \
self.valid_path_string(y) and y.strip()]
class GenericExecutionStep:
class GenericExecutionStep(object):
"""
This class implements a single Molecule Runner step (for example: something
@@ -130,13 +130,6 @@ class GenericExecutionStep:
self.spec_path = spec_path
self.metadata = metadata
self.spec_name = os.path.basename(self.spec_path)
self._export_generic_info()
def _export_generic_info(self):
os.environ['RELEASE_STRING'] = self.metadata.get('release_string', '')
os.environ['RELEASE_VERSION'] = self.metadata.get('release_version', '')
os.environ['RELEASE_DESC'] = self.metadata.get('release_desc', '')
os.environ['PRECHROOT'] = ' '.join(self.metadata.get('prechroot', []))
def setup(self):
"""