aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views/customer.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-09-30 02:08:19 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-09-30 02:08:19 +0300
commit4194e8ee556f3109057fab0afb7894927b52713e (patch)
tree996cb5de38706b07bb24f519d868b29da54c0b67 /servo/views/customer.py
parent03326a06e12de1af575c8e4b2de7e3824f6eaace (diff)
downloadServo-4194e8ee556f3109057fab0afb7894927b52713e.tar.gz
Servo-4194e8ee556f3109057fab0afb7894927b52713e.tar.bz2
Servo-4194e8ee556f3109057fab0afb7894927b52713e.zip
Cleanup
Diffstat (limited to 'servo/views/customer.py')
-rw-r--r--servo/views/customer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/customer.py b/servo/views/customer.py
index 789121b..9adb3e5 100644
--- a/servo/views/customer.py
+++ b/servo/views/customer.py
@@ -296,7 +296,7 @@ def move(request, pk, new_parent=None):
customer.move_to(new_parent)
customer.save() # To update fullname
messages.success(request, msg)
- except Exception, e:
+ except Exception as e:
messages.error(request, e)
return redirect(customer)