aboutsummaryrefslogtreecommitdiff
path: root/db/db.py
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-02 18:23:36 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-02 18:23:36 +0000
commit1d10dbeef64ad66deb95a2c652b71748c3d78267 (patch)
tree00ebe27e5e88c9efcf509b97e3fe635d9b59ae21 /db/db.py
parented5cbeab71acd14ad6bb86c9e7cc45141631c21f (diff)
Switch argument order for better logic
Change-Id: I8054e90c2a3f8d46814eb34459d1395341cc3fb7
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 9754a39..021605d 100644
--- a/db/db.py
+++ b/db/db.py
@@ -69,7 +69,7 @@ class VlanDB:
# Constraints:
# 1. The switch referred to must already exist
# 2. The VLANs mentioned here must already exist
- def create_port(self, name, switch_id, current_vlan_id, base_vlan_id):
+ def create_port(self, switch_id, name, current_vlan_id, base_vlan_id):
switch = self.get_switch(switch_id)
if switch is None: