changeset 8662:eaee3491ce11

convert/gnuarch: wrap long line, format kwargs without spaces
author Martin Geisler <mg@lazybytes.net>
date Sun, 31 May 2009 01:29:30 +0200
parents 883f14fcd1df
children 45f626a39def
files hgext/convert/gnuarch.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/gnuarch.py	Sun May 31 01:28:18 2009 +0200
+++ b/hgext/convert/gnuarch.py	Sun May 31 01:29:30 2009 +0200
@@ -83,7 +83,8 @@
 
             archive = treeversion.split('/')[0]
             if archive not in self.archives:
-                self.ui.status(_('tree analysis stopped because it points to an unregistered archive %s...\n') % archive)
+                self.ui.status(_('tree analysis stopped because it points to '
+                                 'an unregistered archive %s...\n') % archive)
                 break
 
             # Get the complete list of revisions for that tree version
@@ -178,8 +179,8 @@
 
     def getcommit(self, rev):
         changes = self.changes[rev]
-        return commit(author = changes.author, date = changes.date,
-                      desc = changes.summary, parents = self.parents[rev], rev=rev)
+        return commit(author=changes.author, date=changes.date,
+                      desc=changes.summary, parents=self.parents[rev], rev=rev)
 
     def gettags(self):
         return self.tags