hobo: correctly import and setup publisher for --redeploy command (#9599)
This commit is contained in:
parent
143783b334
commit
9da49b398f
|
@ -46,9 +46,11 @@ class CmdCheckHobos(Command):
|
|||
])
|
||||
|
||||
def execute(self, base_options, sub_options, args):
|
||||
import publisher
|
||||
publisher.WcsPublisher.configure(self.config)
|
||||
if sub_options.redeploy:
|
||||
sub_options.ignore_timestamp = True
|
||||
for tenant in os.listdir(WcsPublisher.APP_DIR):
|
||||
for tenant in os.listdir(publisher.WcsPublisher.APP_DIR):
|
||||
if tenant.endswith('.invalid'):
|
||||
continue
|
||||
hobo_json_path = os.path.join(tenant, 'hobo.json')
|
||||
|
|
Loading…
Reference in New Issue