Mercurial > public > mercurial-scm > hg-stable
diff hgext/keyword.py @ 20240:60c4d76b79b5
cleanup: Remove the only ever used skip-check-code pragma
Use the work-around suggested by the rule instead
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Tue, 07 Jan 2014 22:29:39 +0100 |
parents | 7ad2ae7792ad |
children | e96e9f805c19 |
line wrap: on
line diff
--- 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))