0001-hobo_deploy-fix-hobo_deploy-to-support-extra-in-conf.patch
wcs/ctl/check_hobos.py | ||
---|---|---|
37 | 37 |
import publisher |
38 | 38 | |
39 | 39 |
self.base_options = base_options |
40 |
publisher.WcsPublisher.configure(self.config, sub_options.extra) |
|
40 |
if sub_options.extra: |
|
41 |
if not self.config.has_section('extra'): |
|
42 |
self.config.add_section('extra') |
|
43 |
for i, extra in enumerate(sub_options.extra): |
|
44 |
self.config.set("extra", "cmd_line_extra_%d" % i, extra) |
|
45 |
publisher.WcsPublisher.configure(self.config) |
|
41 | 46 |
pub = publisher.WcsPublisher.create_publisher() |
42 | 47 | |
43 | 48 |
global_app_dir = pub.app_dir |
44 |
- |