]> 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)
committerMark McClain <mmcclain@yahoo-inc.com>
Fri, 4 Apr 2014 22:14:09 +0000 (18:14 -0400)
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
(cherry picked from commit 238689570145fdafe8e61967bb56133f167d39ab)

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):