diff options
Diffstat (limited to 'modules/pkg.py')
| -rw-r--r-- | modules/pkg.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/pkg.py b/modules/pkg.py index a748b92..d586795 100644 --- a/modules/pkg.py +++ b/modules/pkg.py @@ -2,7 +2,8 @@ import os import commands from os.path import isdir, join -from devshell import FEDORA_DIR +from base.vars import FEDORA_DIR +from base.module import Module # Hack-filled at the moment. @@ -24,10 +25,10 @@ class CannotFindPackage(Exception): pass #FIXME: use this? -class SCM: +class SCM(object): cmds = dict(update='update', clone='clone', log='log', diff='diff') -class Package(object): +class Source(Module): def __init__(self, name, branch='devel'): self.name = name @@ -130,3 +131,5 @@ class Package(object): def bugs(self): raise NotImplementedError + +__all__ = ['Source']
\ No newline at end of file |
