diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-09-30 02:08:19 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-09-30 02:08:19 +0300 |
commit | 4194e8ee556f3109057fab0afb7894927b52713e (patch) | |
tree | 996cb5de38706b07bb24f519d868b29da54c0b67 /servo/management/commands/cron.py | |
parent | 03326a06e12de1af575c8e4b2de7e3824f6eaace (diff) | |
download | Servo-4194e8ee556f3109057fab0afb7894927b52713e.tar.gz Servo-4194e8ee556f3109057fab0afb7894927b52713e.tar.bz2 Servo-4194e8ee556f3109057fab0afb7894927b52713e.zip |
Cleanup
Diffstat (limited to 'servo/management/commands/cron.py')
-rwxr-xr-x | servo/management/commands/cron.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/management/commands/cron.py b/servo/management/commands/cron.py index d1b2806..5255104 100755 --- a/servo/management/commands/cron.py +++ b/servo/management/commands/cron.py @@ -49,7 +49,7 @@ class Command(BaseCommand): po = PurchaseOrder.objects.get(pk=details.purchaseOrderNumber) po.invoice_id = i po.invoice.save("%s.pdf" % i, File(open(details.invoiceData))) - except Exception, e: + except Exception as e: raise e def update_warranty(self): |