SHA256
1
0
forked from pool/rpmlint
rpmlint/dependency-parsing.diff

13 lines
299 B
Diff

--- SpecCheck.py
+++ SpecCheck.py
@@ -90,7 +90,7 @@
elif wantmore:
tmp += ' ' + tok
wantmore = 0
- elif tok[0] in ('=', '<', '>'):
+ elif len(tok) and tok[0] in ('=', '<', '>'):
tmp += ' ' + tok
wantmore = 1
else: