Replace backquotes with repr(), to silence a SyntaxWarning.
This commit is contained in:
parent
920fd66ac6
commit
74c5c2b2a1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue