remove debuging statement

This commit is contained in:
Benjamin Dauvergne 2016-07-15 16:28:37 +02:00
parent a6959ccdab
commit 8d4436868a
1 changed files with 0 additions and 1 deletions

View File

@ -14,7 +14,6 @@ def get_warehouses(request=None):
warehouses.append(Warehouse.from_json(json.load(open(path))))
if hasattr(request, 'tenant'):
pattern = os.path.join(request.tenant.get_directory(), 'schemas', '*.model')
raise Exception(pattern)
for path in glob.glob(pattern):
warehouses.append(Warehouse.from_json(json.load(open(path))))
return warehouses