From ceb8087e014fcfff5f32866e5a835a74eb893ab0 Mon Sep 17 00:00:00 2001 From: Giorgos Korfiatis Date: Fri, 15 Nov 2013 14:55:12 +0200 Subject: [PATCH] cyclades: Fix reference to QuotaLimit --- .../quotas/management/commands/reconcile-resources-cyclades.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snf-cyclades-app/synnefo/quotas/management/commands/reconcile-resources-cyclades.py b/snf-cyclades-app/synnefo/quotas/management/commands/reconcile-resources-cyclades.py index 94e9ea744..9af0d22b1 100644 --- a/snf-cyclades-app/synnefo/quotas/management/commands/reconcile-resources-cyclades.py +++ b/snf-cyclades-app/synnefo/quotas/management/commands/reconcile-resources-cyclades.py @@ -129,7 +129,7 @@ class Command(BaseCommand): request["provisions"] = map(create_provision, unsynced) try: qh.issue_commission(request) - except quotas.QuotaLimit: + except quotas.errors.QuotaLimit: write("Reconciling failed because a limit has been " "reached. Use --force to ignore the check.\n") return -- GitLab