oops. last minute change broke the thing.

git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@34 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/V0_4
gstein 2000-03-23 10:50:17 +00:00
parent 867499fda8
commit edaa77d018
1 changed files with 6 additions and 7 deletions

View File

@ -87,14 +87,13 @@ __version__ = '0.4-dev'
class Config:
def __init__(self):
class _blank:
pass
self.general = _blank()
self.images = _blank()
self.options = _blank()
self.colors = _blank()
self.text = _blank()
self.general = _sub_config()
self.images = _sub_config()
self.options = _sub_config()
self.colors = _sub_config()
self.text = _sub_config()
class _sub_config:
def get_image(self, which):
text = '[%s]' % string.upper(which)
path, width, height = getattr(self, which)