summaryrefslogtreecommitdiffstats
path: root/modules/buildsystem.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem.py')
-rw-r--r--modules/buildsystem.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/buildsystem.py b/modules/buildsystem.py
index 5265101..1e0bd2d 100644
--- a/modules/buildsystem.py
+++ b/modules/buildsystem.py
@@ -16,6 +16,9 @@
# Authors: Yaakov M. Nemoy <ynemoy@redhat.com>
#
+import base.factories as factories
+
+from base.factories import DirFactory
from base.module import Module
class MetaBuildSystem(type):
@@ -27,7 +30,7 @@ class MetaBuildSystem(type):
class BuildSystem(Module):
__metaclass__ = MetaBuildSystem
def __init__(self, name):
- if type(name) is string:
+ if type(name) is str:
self.pkg_src = DirFactory(name)
self.name = name
else: