SpecCheck: Python 3 fix
This commit is contained in:
parent
fe724dd341
commit
a0f0f6549b
|
@ -204,9 +204,6 @@ class SpecCheck(AbstractCheck.AbstractCheck):
|
|||
|
||||
pkg.current_linenum += 1
|
||||
|
||||
if is_utf8:
|
||||
line = unicode(line, "utf-8", "replace")
|
||||
|
||||
char = line.find(nbsp)
|
||||
if char != -1:
|
||||
printWarning(pkg, "non-break-space", "line %s, char %d" %
|
||||
|
|
Loading…
Reference in New Issue