#2689 lib: missing default values in read_config
Merged a year ago by tkopecek. Opened a year ago by tkopecek.
tkopecek/koji issue2668  into  master

file modified
+5 -5
@@ -1911,11 +1911,11 @@ 

          'topurl': None,

          'pkgurl': None,

          'topdir': '/mnt/koji',

-         'max_retries': None,

-         'retry_interval': None,

-         'anon_retry': None,

-         'offline_retry': None,

-         'offline_retry_interval': None,

+         'max_retries': 30,

+         'retry_interval': 20,

+         'anon_retry': False,

+         'offline_retry': False,

+         'offline_retry_interval': 20,

          'timeout': DEFAULT_REQUEST_TIMEOUT,

          'auth_timeout': DEFAULT_AUTH_TIMEOUT,

          'use_fast_upload': False,

e.g. self.opts.get('max_retries', 30) will return wrong value if there
is None as a default value.

Fixes: https://pagure.io/koji/issue/2668

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

a year ago

Metadata Update from @tkopecek:
- Pull-request untagged with: testing-ready

a year ago

pretty please pagure-ci rebuild

a year ago

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

a year ago

Metadata Update from @mfilip:
- Pull-request tagged with: testing-done

a year ago

Commit eb644e7 fixes this pull-request

Pull-Request has been merged by tkopecek

a year ago
Metadata