Learn more about these different git repos.
Other Git URLs
@@ -1052,9 +1052,8 @@
"""Determines if an rpm is a debuginfo rpm, based on name"""
- if name.endswith('-debuginfo') or name.find('-debuginfo-') != -1:
- return True
- return False
+ return (name.endswith('-debuginfo') or name.endswith('-debugsource') or
+ '-debuginfo-' in name)
"""Given an arch, return the "canonical" arch"""
I suppose this is enough.
I would even remove that 'if' and just use 'return name.endswith...'
@tkopecek alright. fixed.
1 new commit added
Syntax error in current version. Please check make test next time.
Also, would prefer to avoid backslash continuations unless it is the least worst option, as pep8 recommends. E.g.
return (name.endswith('-debuginfo') or name.endswith('-debugsource') or
'-debuginfo-' in name)
3 new commits added
Commit 658953a fixes this pull-request
Pull-Request has been merged by firstname.lastname@example.org