]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Changed the message line of RouterInUse class
authorsushma_korati <sushma_korati@persistent.co.in>
Thu, 27 Mar 2014 09:33:45 +0000 (15:03 +0530)
committervaibhav_kale <vaibhav_kale@persistent.co.in>
Fri, 28 Mar 2014 11:48:39 +0000 (17:18 +0530)
Implements: Changed the message line of RouterInUse class,
so user will not get confused with active or inactive ports
while deleting the router.

Closes-Bug: #1236372
Change-Id: I7a82550e2c6051f9e4940a8f1dd4401059e0a8d8

neutron/extensions/l3.py

index 161b5b5d62d40f8368b695c73998f02d824f3466..6c4de41cfd1eeda017d3180c4eb720d431743516 100644 (file)
@@ -30,7 +30,7 @@ class RouterNotFound(qexception.NotFound):
 
 
 class RouterInUse(qexception.InUse):
-    message = _("Router %(router_id)s still has active ports")
+    message = _("Router %(router_id)s still has ports")
 
 
 class RouterInterfaceNotFound(qexception.NotFound):