diff options
| author | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2009-01-18 22:29:35 -0500 |
|---|---|---|
| committer | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2009-01-18 22:29:35 -0500 |
| commit | 1a1c0bb68241619fc01c971d972c3dea330b35c0 (patch) | |
| tree | 462db633e13fd9db4e685e07043b6cdfe02bd433 /modules/buildsystem.py | |
| parent | d3d01a3237b1767f61953e34879dffd16667b769 (diff) | |
| download | fedora-devshell-1a1c0bb68241619fc01c971d972c3dea330b35c0.tar.gz fedora-devshell-1a1c0bb68241619fc01c971d972c3dea330b35c0.tar.xz fedora-devshell-1a1c0bb68241619fc01c971d972c3dea330b35c0.zip | |
One Liner bug fixes
Diffstat (limited to 'modules/buildsystem.py')
| -rw-r--r-- | modules/buildsystem.py | 5 |
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: |
