From ef4e0411e9d3aa31f3cf3133790184e01461d155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 6 Dec 2019 08:18:52 +0100 Subject: [PATCH] fix Fetch api to become compatible again. Broke in db795c81219fad406b7fd19341ed29530cb45c9b as reported by Marcus --- osc/fetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/fetch.py b/osc/fetch.py index bcf17c03..41a93e6c 100644 --- a/osc/fetch.py +++ b/osc/fetch.py @@ -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():