Code Review
/
nfvbench.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NFVBENCH-175 pylint w0707 correction
[nfvbench.git]
/
nfvbench
/
traffic_client.py
diff --git
a/nfvbench/traffic_client.py
b/nfvbench/traffic_client.py
index
89653a8
..
460e7c2
100755
(executable)
--- a/
nfvbench/traffic_client.py
+++ b/
nfvbench/traffic_client.py
@@
-288,7
+288,7
@@
class Device(object):
value = int((ip_size / step)) + 1
return value
except ZeroDivisionError:
value = int((ip_size / step)) + 1
return value
except ZeroDivisionError:
- raise ZeroDivisionError("step can't be zero !")
+ raise ZeroDivisionError("step can't be zero !")
from ZeroDivisionError
def set_mac(self, mac):
"""Set the local MAC for this port device."""
def set_mac(self, mac):
"""Set the local MAC for this port device."""