mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 21:58:41 +02:00
- fix + beautify
This commit is contained in:
@@ -96,7 +96,7 @@ class RepoDataQuery(object):
|
||||
|
||||
release = element.get("rel")
|
||||
if release is not None:
|
||||
entry += "-%s" % (release,)
|
||||
entry += "-%s" % release
|
||||
|
||||
return entry
|
||||
|
||||
|
@@ -62,7 +62,7 @@ class RpmQuery(packagequery.PackageQuery):
|
||||
|
||||
def __init__(self, fh):
|
||||
self.__file = fh
|
||||
self.__filename = os.path.abspath(fh.name)
|
||||
self.__path = os.path.abspath(fh.name)
|
||||
self.filename_suffix = 'rpm'
|
||||
self.header = None
|
||||
|
||||
|
Reference in New Issue
Block a user