Commit 74c5c2b2 authored by Mark Dickinson's avatar Mark Dickinson

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

parent 920fd66a
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment