~flimm/epidermis/icon-theme-bugfix

« back to all changes in this revision

Viewing changes to epidermis/pigments/skin.py

  • Committer: David D Lowe
  • Date: 2011-04-25 23:21:26 UTC
  • Revision ID: daviddlowe.flimm@gmail.com-20110425232126-5i1fca3mdr6t5hh7
Fixed some bugs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    @staticmethod
36
36
    def get_Pigment():
37
37
        return Skin
38
 
 
 
38
    
 
39
    @staticmethod
 
40
    def does_system_support_me():
 
41
        return True
39
42
 
40
43
 
41
44
class Skin(Pigment):
74
77
        elif isinstance(words, dict):
75
78
            if not words.has_key(lang) and words.has_key(""):
76
79
                lang = ""
77
 
            for word in words[lang]:
 
80
            for word in words.get(lang, []):
78
81
                out = out + word + ", "
79
82
            out = out[:-2]
80
83
            return out