Skip to content

Commit

Permalink
globalspec
Browse files Browse the repository at this point in the history
  • Loading branch information
metux committed Sep 8, 2023
1 parent 752af6f commit b7b8d46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deb_autopkg/conf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from .targetspec import TargetSpec
from .poolspec import PoolSpec
from .pkgspec import PkgSpec
from .config import Config
from .config import GlobalSpec

"""create new global config object and load config file"""
def load(fn):
cf = Config()
cf = GlobalSpec()
cf.load(fn)
return cf
2 changes: 1 addition & 1 deletion deb_autopkg/conf/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from metux.util.specobject import SpecObject, SpecError

"""global configuration"""
class Config(SpecObject):
class GlobalSpec(SpecObject):

"""[private]"""
def __init__(self):
Expand Down

0 comments on commit b7b8d46

Please sign in to comment.