From 90450f935862020ef63ecbd4e5ad06cb721d211e Mon Sep 17 00:00:00 2001 From: Christian Stade-Schuldt Date: Fri, 5 Jun 2015 00:03:37 +0200 Subject: [PATCH] clean up imports --- fritzbox_cpu_temperature.py | 3 --- fritzbox_cpu_usage.py | 2 -- fritzbox_memory_usage.py | 3 --- fritzbox_power_consumption.py | 3 --- fritzbox_wifi_devices.py | 3 --- 5 files changed, 14 deletions(-) diff --git a/fritzbox_cpu_temperature.py b/fritzbox_cpu_temperature.py index 224ff29..ec5930d 100755 --- a/fritzbox_cpu_temperature.py +++ b/fritzbox_cpu_temperature.py @@ -16,13 +16,10 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys import fritzbox_helper as fh -from io import StringIO, BytesIO PAGE = '/system/ecostat.lua' pattern = re.compile('.*\/(StatTemperature)".*=.*"(.*?)"') diff --git a/fritzbox_cpu_usage.py b/fritzbox_cpu_usage.py index fbaeae2..663ea34 100755 --- a/fritzbox_cpu_usage.py +++ b/fritzbox_cpu_usage.py @@ -16,8 +16,6 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys diff --git a/fritzbox_memory_usage.py b/fritzbox_memory_usage.py index 200427c..9483b57 100755 --- a/fritzbox_memory_usage.py +++ b/fritzbox_memory_usage.py @@ -16,13 +16,10 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys import fritzbox_helper as fh -from io import StringIO, BytesIO PAGE = '/system/ecostat.lua' pattern = re.compile('.*\/(StatRAM.*?)".*=.*"(.*?)"') diff --git a/fritzbox_power_consumption.py b/fritzbox_power_consumption.py index bc8ae3f..467e9a0 100755 --- a/fritzbox_power_consumption.py +++ b/fritzbox_power_consumption.py @@ -16,13 +16,10 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys import fritzbox_helper as fh -from io import StringIO, BytesIO PAGE = '/system/energy.lua' pattern = re.compile('.*\/(.*act?)".*=.*"(.*?)"') diff --git a/fritzbox_wifi_devices.py b/fritzbox_wifi_devices.py index 16fa374..41c629a 100755 --- a/fritzbox_wifi_devices.py +++ b/fritzbox_wifi_devices.py @@ -16,13 +16,10 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys import fritzbox_helper as fh -from io import StringIO, BytesIO PAGE = '/system/energy.lua' pattern = re.compile('(\d+) WLAN')