Cycles: svn merge -r41266:41467 ^/trunk/blender
[blender-staging.git] / po / merge_po.py
index b4a1ffa399e4cdb9ab12e5a2438442b88437b6f0..dcbe9fc9890d396d051818000fff14d5a13e0082 100755 (executable)
@@ -1,6 +1,5 @@
 #!/usr/bin/env python
 
-# $Id$
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
@@ -23,7 +22,6 @@
 
 # update the pot file according the POTFILES.in
 
-import os
 import sys
 import collections
 
@@ -145,17 +143,17 @@ def main():
                 first = True
                 for x in item['message_lines']:
                     if first:
-                        handle.write("msgid \"%s\"\n" % (x))
+                        handle.write("msgid \"%s\"\n" % x)
                     else:
-                        handle.write("\"%s\"\n" % (x))
+                        handle.write("\"%s\"\n" % x)
                     first = False
 
                 first = True
                 for x in item['translation_lines']:
                     if first:
-                        handle.write("msgstr \"%s\"\n" % (x))
+                        handle.write("msgstr \"%s\"\n" % x)
                     else:
-                        handle.write("\"%s\"\n" % (x))
+                        handle.write("\"%s\"\n" % x)
                     first = False
 
                 handle.write("\n")