#3050 kojivmd: change opts allowed_scms_by_* to allowed_scms_use_*
Merged 8 months ago by tkopecek. Opened 8 months ago by julian8628.
julian8628/koji use-config  into  master

file modified
+4 -4
@@ -138,8 +138,8 @@ 

                  'offline_retry': True,

                  'offline_retry_interval': 120,

                  'allowed_scms': '',

-                 'allowed_scms_by_config': True,

-                 'allowed_scms_by_policy': False,

+                 'allowed_scms_use_config': True,

+                 'allowed_scms_use_policy': False,

                  'cert': None,

                  'serverca': None}

      if config.has_section('kojivmd'):
@@ -151,8 +151,8 @@ 

                      defaults[name] = int(value)

                  except ValueError:

                      quit("value for %s option must be a valid integer" % name)

-             elif name in ['offline_retry', 'no_ssl_verify', 'allowed_scms_by_config',

-                           'allowed_scms_by_policy']:

+             elif name in ['offline_retry', 'no_ssl_verify', 'allowed_scms_use_config',

+                           'allowed_scms_use_policy']:

                  defaults[name] = config.getboolean('kojivmd', name)

              elif name in ['plugin', 'plugins']:

                  defaults['plugin'] = value.split()

Metadata Update from @tkopecek:
- Pull-request tagged with: no_qe

8 months ago

Commit 8db4e16 fixes this pull-request

Pull-Request has been merged by tkopecek

8 months ago
Metadata