cleanup: Remove the only ever used skip-check-code pragma stable
authorSimon Heimberg <simohe@besonet.ch>
Tue, 07 Jan 2014 22:29:39 +0100
branchstable
changeset 1316 c7c23e04673e
parent 1315 e3461e819922
child 1317 f7923ea4b188
cleanup: Remove the only ever used skip-check-code pragma Use the work-around suggested by the rule instead [ original upstream message ]
hgkw/keyword.py
--- a/hgkw/keyword.py	Wed Nov 06 18:19:04 2013 -0500
+++ b/hgkw/keyword.py	Tue Jan 07 22:29:39 2014 +0100
@@ -447,7 +447,7 @@
         if name.split('.', 1)[0].find('commit') > -1:
             repo.ui.setconfig('hooks', name, '')
     msg = _('hg keyword configuration and expansion example')
-    ui.note("hg ci -m '%s'\n" % msg) # check-code-ignore
+    ui.note(("hg ci -m '%s'\n" % msg))
     repo.commit(text=msg)
     ui.status(_('\n\tkeywords expanded\n'))
     ui.write(repo.wread(fn))