<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -32,7 +32,7 @@ class Builder:
         self.tmdb = tmdb.TMDB(tmdbfile)
         self.source_lang = source_lang
         self.target_lang = target_lang
-        
+
         for filename in filenames:
             if not os.path.exists(filename):
                 print &gt;&gt; sys.stderr, &quot;cannot process %s: does not exist&quot; % filename
@@ -43,7 +43,6 @@ class Builder:
                 self.handlefile(filename)
         self.tmdb.connection.commit()
 
-
     def handlefile(self, filename):
         try:
             store = factory.getobject(filename)
@@ -55,8 +54,7 @@ class Builder:
             self.tmdb.add_store(store, self.source_lang, self.target_lang, commit=False)
         except Exception, e:
             print e
-        print &quot;new file:&quot;, filename
-
+        print &quot;File added:&quot;, filename
 
     def handlefiles(self, dirname, filenames):
         for filename in filenames:
@@ -66,7 +64,6 @@ class Builder:
             else:
                 self.handlefile(pathname)
 
-
     def handledir(self, dirname):
         path, name = os.path.split(dirname)
         if name in [&quot;CVS&quot;, &quot;.svn&quot;, &quot;_darcs&quot;, &quot;.git&quot;, &quot;.hg&quot;, &quot;.bzr&quot;]:
@@ -74,6 +71,7 @@ class Builder:
         entries = os.listdir(dirname)
         self.handlefiles(dirname, entries)
 
+
 def main():
     try:
         import psyco
@@ -81,14 +79,20 @@ def main():
     except Exception:
         pass
     parser = OptionParser()
-    parser.add_option(&quot;-d&quot;, &quot;--tmdb&quot;, dest=&quot;tmdbfile&quot;,
-                      help=&quot;translation memory database file&quot;)
-    parser.add_option(&quot;-s&quot;, &quot;--import-source-lang&quot;, dest=&quot;source_lang&quot;,
-                      help=&quot;source language of translation files&quot;)
-    parser.add_option(&quot;-t&quot;, &quot;--import-target-lang&quot;, dest=&quot;target_lang&quot;,
-                      help=&quot;target language of translation files&quot;)
+    parser.add_option(
+        &quot;-d&quot;, &quot;--tmdb&quot;, dest=&quot;tmdbfile&quot;,
+        help=&quot;translation memory database file&quot;
+    )
+    parser.add_option(
+        &quot;-s&quot;, &quot;--import-source-lang&quot;, dest=&quot;source_lang&quot;,
+        help=&quot;source language of translation files&quot;
+    )
+    parser.add_option(
+        &quot;-t&quot;, &quot;--import-target-lang&quot;, dest=&quot;target_lang&quot;,
+        help=&quot;target language of translation files&quot;
+    )
     (options, args) = parser.parse_args()
-    
+
     Builder(options.tmdbfile, options.source_lang, options.target_lang, args)
 
 if __name__ == '__main__':</diff>
      <filename>tools/build_tmdb.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e3c9cd83878c6ade7565e0622344546d6045eaa6</id>
    </parent>
  </parents>
  <author>
    <name>walter_l</name>
    <email>walter_l@54714841-351b-0410-a198-e36a94b762f5</email>
  </author>
  <url>http://github.com/translateorgza/translate/commit/d8ddf935706a56b465fec81563263fad219f9ba9</url>
  <id>d8ddf935706a56b465fec81563263fad219f9ba9</id>
  <committed-date>2009-10-26T02:46:21-07:00</committed-date>
  <authored-date>2009-10-26T02:46:21-07:00</authored-date>
  <message>Cosmetic changes.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/translate@12582 54714841-351b-0410-a198-e36a94b762f5</message>
  <tree>7379480e5afb2b0106af8fbb0eba0b287d81ce7e</tree>
  <committer>
    <name>walter_l</name>
    <email>walter_l@54714841-351b-0410-a198-e36a94b762f5</email>
  </committer>
</commit>
