diff options
Diffstat (limited to 'servo/management/commands/updateprices.py')
-rw-r--r-- | servo/management/commands/updateprices.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/management/commands/updateprices.py b/servo/management/commands/updateprices.py index c3a073c..50da680 100644 --- a/servo/management/commands/updateprices.py +++ b/servo/management/commands/updateprices.py @@ -33,7 +33,7 @@ class Command(BaseCommand): i.update_price() i.save() counter += 1 - except Exception, e: + except Exception as e: logging.debug(e) print '%d product prices updated' % counter |