summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-07-25 13:50:16 (GMT)
committerThomas Haller <thaller@redhat.com>2023-07-25 14:03:10 (GMT)
commitd561096c1d30fb60d3eab82303828b3f062bd938 (patch)
tree1f2d84db927df5268bc8a1da9fc4ece81eb8563c /python
parent29b06d0fe8c85165d8a114b85af72d354821ff84 (diff)
downloadlibnl-d561096c1d30fb60d3eab82303828b3f062bd938.zip
libnl-d561096c1d30fb60d3eab82303828b3f062bd938.tar.gz
libnl-d561096c1d30fb60d3eab82303828b3f062bd938.tar.bz2
python: fix flake8 warnings E302
./python/netlink/util.py:19:1: E302 expected 2 blank lines, found 1
Diffstat (limited to 'python')
-rw-r--r--python/netlink/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/netlink/util.py b/python/netlink/util.py
index 983af9c..afe7ef0 100644
--- a/python/netlink/util.py
+++ b/python/netlink/util.py
@@ -15,6 +15,7 @@ from string import Formatter
__version__ = "1.0"
+
# rename into colored_output
def _color(t, c):
return "{esc}[{color}m{text}{esc}[0m".format(esc=b"\x1b".decode(), color=c, text=t)