aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2015-09-18 14:10:34 +0100
committerSteve McIntyre <steve.mcintyre@linaro.org>2015-09-18 14:10:34 +0100
commit9f7bac04786eb9206dd4f804f326c9d54e7fa768 (patch)
tree08183726c3f3fc25ee31c41cf8153d85b938cdcf /util.py
parentc13becd993fd8d5e59ebc6279808895b2d11f277 (diff)
Fix format string error
Change-Id: I2657a311d7ffe4e6e8110f60d3bc9b474672cd1a
Diffstat (limited to 'util.py')
-rw-r--r--util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.py b/util.py
index ce41f0c..8321ed9 100644
--- a/util.py
+++ b/util.py
@@ -281,7 +281,7 @@ class VlanUtil:
del s
except IOError as e:
- logging.error('Failed to add VLAN %d to switch ID %d (%s): %s', tag, switch.switch_id, switch.name)
+ logging.error('Failed to add VLAN %d to switch ID %d (%s): %s', tag, switch.switch_id, switch.name, e)
raise
except IOError: