diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-01-27 00:04:59 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-01-27 00:04:59 +0100 |
| commit | 15d7074f55a2c3dd38ce9877626be6ec32b448d2 (patch) | |
| tree | d00b0e0de23212eed1432c8661ac13e27728f107 /skin.py | |
| parent | a4fd5bddb0f8c1b05b963cb8af9692f6c89f3dab (diff) | |
| download | enigma2-15d7074f55a2c3dd38ce9877626be6ec32b448d2.tar.gz enigma2-15d7074f55a2c3dd38ce9877626be6ec32b448d2.zip | |
fixes for python 2.6 by Moritz Venn
Diffstat (limited to 'skin.py')
| -rw-r--r-- | skin.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -274,7 +274,7 @@ def loadSingleSkinData(desktop, skin, path_prefix): colorNames[name] = parseColor(color) #print "Color:", name, color else: - raise ("need color and name, got %s %s" % (name, color)) + raise SkinError("need color and name, got %s %s" % (name, color)) for c in skin.findall("fonts"): for font in c.findall("font"): @@ -335,7 +335,7 @@ def loadSingleSkinData(desktop, skin, path_prefix): try: style.setColor(eWindowStyleSkinned.__dict__["col" + type], color) except: - raise ("Unknown color %s" % (type)) + raise SkinError("Unknown color %s" % (type)) #pass #print " color:", type, color |
