1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

Merge pull request #698 from adrianschroeter/fix_api

fix Fetch api to become compatible again.
This commit is contained in:
Marco Strigl 2019-12-10 11:43:59 +01:00 committed by GitHub
commit 40abc51657
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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():