0001-commands-always-add-global-publisher-variables-to-co.patch
wcs/ctl/management/commands/__init__.py | ||
---|---|---|
28 | 28 |
raise CommandError('unknown tenant') |
29 | 29 |
publisher.app_dir = os.path.join(publisher.APP_DIR, domain) |
30 | 30 |
publisher.set_config() |
31 |
publisher.substitutions.feed(publisher) |
|
31 | 32 |
return publisher |
wcs/ctl/management/commands/runjob.py | ||
---|---|---|
33 | 33 |
def handle(self, *args, **options): |
34 | 34 |
domain = options.pop('domain') |
35 | 35 |
self.init_tenant_publisher(domain) |
36 |
get_publisher().substitutions.feed(get_publisher()) |
|
37 | 36 |
try: |
38 | 37 |
job = AfterJob.get(options['job_id']) |
39 | 38 |
except KeyError: |
40 |
- |