Replace backquotes with repr(), to silence a SyntaxWarning.

This commit is contained in:
Mark Dickinson 2010-04-03 16:54:02 +00:00
parent 920fd66ac6
commit 74c5c2b2a1
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class Keyword:
self.keyword = "%-4.4s" % str(keyword)
def __repr__(self):
return "Keyword(%r)" % `self.keyword`
return "Keyword(%r)" % repr(self.keyword)
def __str__(self):
return string.strip(self.keyword)