Projet

Général

Profil

0001-hobo_deploy-fix-hobo_deploy-to-support-extra-in-conf.patch

Jérôme Schneider, 30 mars 2015 18:11

Télécharger (1,11 ko)

Voir les différences:

Subject: [PATCH] hobo_deploy: fix hobo_deploy to support extra in config file
 (#6654)

 wcs/ctl/check_hobos.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
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
-