aboutsummaryrefslogtreecommitdiff
path: root/db/db.py
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-05 17:51:53 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-05 17:51:53 +0000
commit9eb7865387a39c3320b0095bca02ab285c59cdb8 (patch)
tree0952c628c5a8cbafec9c194b2e4fe59b83e6c959 /db/db.py
parent6dd00be04af240d2fad1c5b21478617ddb5a326f (diff)
s/set_vlan/set_current_vlan/
Change-Id: Iac4b1c36b196ec68ac66764da54edc71aecb27fd
Diffstat (limited to 'db/db.py')
-rw-r--r--db/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/db.py b/db/db.py
index 6d557aa..d71f46d 100644
--- a/db/db.py
+++ b/db/db.py
@@ -367,7 +367,7 @@ class VlanDB:
raise
return port_id
- def set_vlan(self, port_id, vlan_id):
+ def set_current_vlan(self, port_id, vlan_id):
port = self.get_port_by_id(port_id)
if port is None:
raise InputError("Port ID %d does not exist" % int(port_id))