diff options
| author | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2009-01-18 22:21:05 -0500 |
|---|---|---|
| committer | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2009-01-18 22:21:05 -0500 |
| commit | d3d01a3237b1767f61953e34879dffd16667b769 (patch) | |
| tree | 360c9a4d5131580cbbd42973f5a98ef9e2d04a02 /modules/directory.py | |
| parent | 2582dbfd415494a7fa5b378082b0aba19e6d88c1 (diff) | |
| download | fedora-devshell-d3d01a3237b1767f61953e34879dffd16667b769.tar.gz fedora-devshell-d3d01a3237b1767f61953e34879dffd16667b769.tar.xz fedora-devshell-d3d01a3237b1767f61953e34879dffd16667b769.zip | |
Modifies factories, adds a BuildSystemFactory
BSFactory, oh yeah!
Diffstat (limited to 'modules/directory.py')
| -rw-r--r-- | modules/directory.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/directory.py b/modules/directory.py index 2692f06..e71192a 100644 --- a/modules/directory.py +++ b/modules/directory.py @@ -19,14 +19,14 @@ from __future__ import with_statement -import base.dirfactory as dirfactory +import base.factories as factories from configobj import ConfigObj from os import makedirs, getcwd, listdir from os.path import abspath, join, split, splitext, basename, exists, dirname from base.base import log -from base.dirfactory import DirFactory +from base.factories import DirFactory from base.module import Module from base.util import pwd, copytree @@ -34,7 +34,7 @@ class MetaDirectory(type): def __init__(cls, name, bases, attrs): t = name.lower() cls._type = t - dirfactory.register(cls, t) + factories.register_directory(cls, t) class Directory(Module): '''a generic base class for any module that has to maintain state |
