cleanup: Remove the only ever used skip-check-code pragma
authorSimon Heimberg <simohe@besonet.ch>
Tue, 07 Jan 2014 22:29:39 +0100
changeset 20240 60c4d76b79b5
parent 20239 16b5f498f49c
child 20241 8071b4eddefa
cleanup: Remove the only ever used skip-check-code pragma Use the work-around suggested by the rule instead
hgext/keyword.py
--- a/hgext/keyword.py	Tue Jan 07 22:29:15 2014 +0100
+++ b/hgext/keyword.py	Tue Jan 07 22:29:39 2014 +0100
@@ -448,7 +448,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))