changeset 9790:819e6c7085fc

relink: do not translate format string with no text
author Martin Geisler <mg@lazybytes.net>
date Sun, 08 Nov 2009 00:11:34 +0100
parents 79e749b26b2b
children 8bba9157b30a
files hgext/relink.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/relink.py	Sat Nov 07 23:38:01 2009 +0100
+++ b/hgext/relink.py	Sun Nov 08 00:11:34 2009 +0100
@@ -135,7 +135,7 @@
             relinked += 1
             savedbytes += sz
         except OSError, inst:
-            ui.warn(_('%s: %s\n') % (tgt, str(inst)))
+            ui.warn('%s: %s\n' % (tgt, str(inst)))
 
     ui.status(_('relinked %d files (%d bytes reclaimed)\n') %
               (relinked, savedbytes))