1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

fix Fetch api to become compatible again.

Broke in db795c8121 as reported by Marcus
This commit is contained in:
Adrian Schröter 2019-12-06 08:18:52 +01:00
parent db795c8121
commit ef4e0411e9

View File

@ -28,8 +28,8 @@ from .meter import create_text_meter
class Fetcher:
def __init__(self, cachedir='/tmp', api_host_options={}, urllist=[],
modules = [], http_debug=False, cookiejar=None, offline=False,
enable_cpio=True):
http_debug=False, cookiejar=None, offline=False,
enable_cpio=True, modules=[]):
# set up progress bar callback
self.progress_obj = None
if sys.stdout.isatty():