From a07539f126f887cd5d29cda6d9eca1ef0ac34482 Mon Sep 17 00:00:00 2001 From: enkore Date: Tue, 14 Oct 2014 16:38:36 +0200 Subject: [PATCH] PEP 8 (I'm bored): network --- i3pystatus/network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3pystatus/network.py b/i3pystatus/network.py index c579e4a..e476b7c 100644 --- a/i3pystatus/network.py +++ b/i3pystatus/network.py @@ -5,7 +5,7 @@ import netifaces from i3pystatus import IntervalModule -# Remainder: if we raise minimum Python version to 3.3, use ipaddress module +# Reminder: if we raise minimum Python version to 3.3, use ipaddress module def count_bits(integer): @@ -59,7 +59,7 @@ def get_bonded_slaves(): return slaves -def sysfs_interface_up(interface, unknown_up = False): +def sysfs_interface_up(interface, unknown_up=False): try: with open("/sys/class/net/{}/operstate".format(interface)) as f: status = f.read().strip()