black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.
Change-Id: If1010ead857d41364c024bf8145a979a9377d382
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/lib/pythonutil.py b/lib/pythonutil.py
index 3fd6ffb..bf5e1a4 100644
--- a/lib/pythonutil.py
+++ b/lib/pythonutil.py
@@ -5,7 +5,7 @@
def calcDottedNetmask(mask):
bits = 0
for i in xrange(32 - mask, 32):
- bits |= (1 << i)
- packed_value = pack('!I', bits)
+ bits |= 1 << i
+ packed_value = pack("!I", bits)
addr = inet_ntoa(packed_value)
return addr