diff --git a/hobo/agent/common/management/commands/hobo_deploy.py b/hobo/agent/common/management/commands/hobo_deploy.py index 1ab1e26..b9dca51 100644 --- a/hobo/agent/common/management/commands/hobo_deploy.py +++ b/hobo/agent/common/management/commands/hobo_deploy.py @@ -85,7 +85,7 @@ class Command(BaseCommand): timestamp = hobo_environment.get('timestamp') tenant_hobo_json = os.path.join(tenant.get_directory(), 'hobo.json') if os.path.exists(tenant_hobo_json): - if not ignore_timestamp and json.load(file(tenant_hobo_json)).get('timestamp') == timestamp: + if not ignore_timestamp and json.load(open(tenant_hobo_json)).get('timestamp') == timestamp: return # add an attribute to current tenant for easier retrieval