diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-12-02 17:59:54 +0000 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-12-02 17:59:54 +0000 |
commit | caa40a6da5bfc30006f546becde9e554a153821c (patch) | |
tree | 7fb6a2cbc99904769689d4d465aa25cdcd0f9c55 /db | |
parent | b09ed283a7aa3d3f6d0fbbb9d1a9242c72e4c8d1 (diff) |
Minor tweak to error message
Change-Id: I9b137cbf592c20fd47fb5dce1d7fad5731ccea17
Diffstat (limited to 'db')
-rw-r--r-- | db/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ class VlanDB: def delete_switch(self, switch_id): switch = self.get_switch(switch_id) if switch is None: - raise InputError("Cannot delete switch ID %s which does not exist" % switch_id) + raise InputError("Switch ID %s does not exist" % switch_id) ports = self.get_ports_by_switch(switch_id) if ports is not None: raise InputError("Cannot delete switch ID %s when it still has %d ports" % |