Rename 'Hint' key property to 'Description'. I want it to work ;)

portnov [2008-08-24 11:09:06]
Rename 'Hint' key property to 'Description'. I want it to work ;)
Filename
qwerty.py
diff --git a/qwerty.py b/qwerty.py
index e400436..5da46fc 100755
--- a/qwerty.py
+++ b/qwerty.py
@@ -230,14 +230,14 @@ def parse_config():
             context = KEY
             continue

-        v = parse_line('Hint',line)
+        v = parse_line('Description',line)
         if v:
             if context == SECTION:
-                S.hint = v
+                S.desc = v
             elif context == KEY:
-                K.hint = v
+                K.desc = v
             else:
-                raise SyntaxError, "Unexpected 'Hint' key in config file"
+                raise SyntaxError, "Unexpected 'Description' key in config file"
             continue

         v = parse_line('Icon',line)
ViewGit