oops. last minute change broke the thing.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@34 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/tags/V0_4
parent
867499fda8
commit
edaa77d018
|
@ -87,14 +87,13 @@ __version__ = '0.4-dev'
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
class _blank:
|
self.general = _sub_config()
|
||||||
pass
|
self.images = _sub_config()
|
||||||
self.general = _blank()
|
self.options = _sub_config()
|
||||||
self.images = _blank()
|
self.colors = _sub_config()
|
||||||
self.options = _blank()
|
self.text = _sub_config()
|
||||||
self.colors = _blank()
|
|
||||||
self.text = _blank()
|
|
||||||
|
|
||||||
|
class _sub_config:
|
||||||
def get_image(self, which):
|
def get_image(self, which):
|
||||||
text = '[%s]' % string.upper(which)
|
text = '[%s]' % string.upper(which)
|
||||||
path, width, height = getattr(self, which)
|
path, width, height = getattr(self, which)
|
||||||
|
|
Loading…
Reference in New Issue