1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 05:08:42 +02:00

fixed indentation of return[].

It works in python2, but will break in python3
This commit is contained in:
lethliel
2018-07-06 09:54:59 +02:00
parent cbd10644a2
commit 779b66f3c3

View File

@@ -166,7 +166,7 @@ class RpmQuery(packagequery.PackageQuery, packagequery.PackageQueryResult):
def __reqprov(self, tag, flags, version, strong=None):
pnames = self.header.gettag(tag)
if not pnames:
return []
return []
pnames = pnames.data
pflags = self.header.gettag(flags).data
pvers = self.header.gettag(version).data