diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-12-02 18:23:36 +0000 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-12-02 18:23:36 +0000 |
commit | 1d10dbeef64ad66deb95a2c652b71748c3d78267 (patch) | |
tree | 00ebe27e5e88c9efcf509b97e3fe635d9b59ae21 /db/db.py | |
parent | ed5cbeab71acd14ad6bb86c9e7cc45141631c21f (diff) |
Switch argument order for better logic
Change-Id: I8054e90c2a3f8d46814eb34459d1395341cc3fb7
Diffstat (limited to 'db/db.py')
-rw-r--r-- | db/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |