Skip to content

Commit

Permalink
deb_autopkg: conf: config: rename class Config to GlobalSpec
Browse files Browse the repository at this point in the history
The name GlobalSpec seems a bit more fitting than just Config.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
  • Loading branch information
metux committed Sep 8, 2023
1 parent 8587e04 commit d22cf15
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 d22cf15

Please sign in to comment.