[gnome-getting-started-docs] small typo, big effect :)



commit 364f8397e711608deee8de1663f879da0f1606ef
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri May 10 08:30:13 2013 +0200

    small typo, big effect :)

 animation/gnome-windows-and-workspaces.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/animation/gnome-windows-and-workspaces.py b/animation/gnome-windows-and-workspaces.py
index adc7c45..027fb6d 100644
--- a/animation/gnome-windows-and-workspaces.py
+++ b/animation/gnome-windows-and-workspaces.py
@@ -9,17 +9,17 @@ def main():
   #unfortunately no decent fonts have ↲
   langs = open('language-whitelist.txt').readlines()
   for lang in langs:
+    lang = lang.strip()
     if (lang[0]=="#"):
       pass
     else:
-      lang = lang.strip()
       xmlfile = ET.parse('../gnome-help/' + lang + '/gs-animation.xml')
       t[lang] = xmlfile.getroot()
       for textobj in t[lang].findall('t'):
         if textobj.get('id') in bpy.data.objects: #prelozit jestli existuje jako index
           bpy.data.objects[textobj.get('id')].data.body = textobj.text
-        gnomerender.render(lang)
-        gnomerender.transcode(lang)
+      gnomerender.render(lang)
+      gnomerender.transcode(lang)
     
 if __name__ == '__main__':
     main()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]