[gthumb] make-potfiles-in.py: removed trailing spaces



commit e0dd60467a83851536e4dd1c3f652fc9c4b49936
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Apr 18 21:32:26 2018 +0200

    make-potfiles-in.py: removed trailing spaces

 po/make-potfiles-in.py |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/po/make-potfiles-in.py b/po/make-potfiles-in.py
index dffe4a3..4924262 100755
--- a/po/make-potfiles-in.py
+++ b/po/make-potfiles-in.py
@@ -4,16 +4,16 @@ import os
 import re
 
 root_dir = '..'
-valid_extensions = [ 
-    '.c', 
-    '.h', 
-    '.cpp', 
-    '.ui', 
-    '.gschema.xml', 
-    '.schemas.in', 
-    '.xml.in', 
-    '.desktop.in.in', 
-    '.extension.in.in' 
+valid_extensions = [
+    '.c',
+    '.h',
+    '.cpp',
+    '.ui',
+    '.gschema.xml',
+    '.schemas.in',
+    '.xml.in',
+    '.desktop.in.in',
+    '.extension.in.in'
 ]
 prefix_for_ext = {
     '.ui'              : '[type: gettext/glade]',
@@ -31,14 +31,14 @@ print("# ./make-potfiles-in.py > POTFILES.in")
 all_files = []
 for root, dirs, files in os.walk(root_dir):
     all_files += map(lambda file: os.path.join(root, file), files)
-    
+
 for file in sorted(all_files):
-    # ignore the build directory   
+    # ignore the build directory
     if 'build' in file:
         continue
-    
+
     for ext in valid_extensions:
-        if file.endswith(ext):        
-            prefix = ''#prefix_for_ext.get(ext, '')
+        if file.endswith(ext):
+            prefix = '' #prefix_for_ext.get(ext, '')
             file = os.path.relpath(file, root_dir)
-            print("{0}{1}".format(prefix, file)) 
+            print("{0}{1}".format(prefix, file))


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