mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
trailing whitespace cleanup
This commit is contained in:
parent
7b759dc8bc
commit
b7ed6534eb
@ -318,11 +318,11 @@ apiurl = %(apiurl)s
|
||||
# extra packages to install when building packages locally (osc build)
|
||||
# this corresponds to osc build's -x option and can be overridden with that
|
||||
# -x '' can also be given on the command line to override this setting, or
|
||||
# you can have an empty setting here. This global setting may leads to
|
||||
# you can have an empty setting here. This global setting may leads to
|
||||
# dependency problems when the base distro is not providing the package.
|
||||
# => using server side definition via cli_debug_packages substitute rule is
|
||||
# recommended therefore.
|
||||
#extra-pkgs =
|
||||
#extra-pkgs =
|
||||
|
||||
# build platform is used if the platform argument is omitted to osc build
|
||||
#build_repository = %(build_repository)s
|
||||
|
@ -1545,7 +1545,7 @@ class Package:
|
||||
print('Transmitting file data', end=' ')
|
||||
filelist = self.__generate_commitlist(todo_send)
|
||||
sfilelist = self.__send_commitlog(msg, filelist, validate=True)
|
||||
hash_entries = [e for e in sfilelist.findall('entry') if e.get('hash') is not None]
|
||||
hash_entries = [e for e in sfilelist.findall('entry') if e.get('hash') is not None]
|
||||
if sfilelist.get('error') and hash_entries:
|
||||
name2elem = dict([(e.get('name'), e) for e in filelist.findall('entry')])
|
||||
for entry in hash_entries:
|
||||
@ -3692,7 +3692,7 @@ class metafile:
|
||||
class _URLFactory:
|
||||
# private class which might go away again...
|
||||
def __init__(self, delegate, force_supported=True):
|
||||
self._delegate = delegate
|
||||
self._delegate = delegate
|
||||
self._force_supported = force_supported
|
||||
|
||||
def is_force_supported(self):
|
||||
@ -5946,7 +5946,7 @@ def get_package_results(apiurl, project, package=None, wait=False, *args, **kwar
|
||||
if not wait or not waiting:
|
||||
break
|
||||
else:
|
||||
yield xml
|
||||
yield xml
|
||||
yield xml
|
||||
|
||||
|
||||
|
@ -158,8 +158,8 @@ class PackageQueryResult:
|
||||
|
||||
epoch = self.epoch()
|
||||
if epoch is not None and epoch != 0:
|
||||
evr = epoch + b":" + evr
|
||||
return evr
|
||||
evr = epoch + b":" + evr
|
||||
return evr
|
||||
|
||||
|
||||
def cmp(a, b):
|
||||
|
Loading…
Reference in New Issue
Block a user