diff --git a/buildbot.py b/buildbot.py index a864514..4dedc2a 100755 --- a/buildbot.py +++ b/buildbot.py @@ -263,7 +263,7 @@ class jobsManager: sizes = [f.stat().st_size / 1000 / 1000 for f in f_to_upload] max_tries = 10 for tries in range(max_tries): - timeouts = rrun('push_start', args=(f_to_upload, sizes)) + timeouts = rrun('push_start', args=([f.name for f in f_to_upload], sizes)) if type(timeouts) is list: break else: @@ -299,7 +299,7 @@ class jobsManager: max_tries = 5 for tries in range(max_tries): try: - res = rrun('push_done', args=(f_to_upload,), kwargs={'overwrite': overwrite,}) + res = rrun('push_done', args=([f.name for f in f_to_upload],), kwargs={'overwrite': overwrite,}) except Exception: time_to_sleep = (tries + 1) * 60 logger.info(f'Error updating {pkg_update_list}, wait {time_to_sleep} secs') diff --git a/repod.py b/repod.py index 05108c0..f00e091 100755 --- a/repod.py +++ b/repod.py @@ -175,7 +175,7 @@ if __name__ == '__main__': try: with Listener(REPOD_BIND_ADDRESS, authkey=REPOD_BIND_PASSWD) as listener: with listener.accept() as conn: - logger.info('connection accepted from %s', listener.last_accepted) + logger.debug('connection accepted from %s', listener.last_accepted) myrecv = conn.recv() if type(myrecv) is list and len(myrecv) == 3: (funcname, args, kwargs) = myrecv