OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=510
This commit is contained in:
parent
7b11fac9ff
commit
2b5cea76f9
@ -19,13 +19,3 @@ index 8cb85b3..45ad404 100644
|
||||
|
||||
|
||||
def unversioned(deps):
|
||||
@@ -206,8 +205,7 @@ class SpecCheck(AbstractCheck.AbstractCheck):
|
||||
if do_unicode:
|
||||
line = unicode(line, "utf-8", "replace") # noqa false positive
|
||||
|
||||
- char = line.find(nbsp)
|
||||
- if char != -1:
|
||||
+ if nbsp in line:
|
||||
printWarning(pkg, "non-break-space", "line %s, char %d" %
|
||||
(pkg.current_linenum, char))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user