From edfc38bffb2776dd96b6e5a6073b778734b3c5ca Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 20 Nov 2016 13:34:24 +0100 Subject: [PATCH] resolve ununsed code imports --- plugins/FFAgent/FFAgent.py | 4 +--- plugins/Pushover/Pushover.py | 3 +-- plugins/Sms77/Sms77.py | 3 +-- plugins/httpRequest/httpRequest.py | 3 --- plugins/notifyMyAndroid/notifyMyAndroid.py | 3 --- plugins/yowsup/yowsup.py | 2 +- 6 files changed, 4 insertions(+), 14 deletions(-) diff --git a/plugins/FFAgent/FFAgent.py b/plugins/FFAgent/FFAgent.py index c4811fb..72078e1 100644 --- a/plugins/FFAgent/FFAgent.py +++ b/plugins/FFAgent/FFAgent.py @@ -9,15 +9,13 @@ FFAgent-Plugin to send FMS-, ZVEI- and POCSAG - messages to FF-Agent @requires: FFAgent-Configuration has to be set in the config.ini """ -import time import logging # Global logger import hmac, hashlib import json, requests -import string from includes import globalVars # Global variables -from includes.helper import timeHandler +'from includes.helper import timeHandler from includes.helper import configHandler ## diff --git a/plugins/Pushover/Pushover.py b/plugins/Pushover/Pushover.py index afb7657..607b9c2 100644 --- a/plugins/Pushover/Pushover.py +++ b/plugins/Pushover/Pushover.py @@ -9,13 +9,12 @@ Pushover-Plugin to send FMS-, ZVEI- and POCSAG - messages to Pushover Clients @requires: Pushover-Configuration has to be set in the config.ini """ -import time import logging # Global logger import httplib #for the HTTP request import urllib from includes import globalVars # Global variables -from includes.helper import timeHandler +'from includes.helper import timeHandler from includes.helper import configHandler ## diff --git a/plugins/Sms77/Sms77.py b/plugins/Sms77/Sms77.py index 3fd89e3..737c91e 100644 --- a/plugins/Sms77/Sms77.py +++ b/plugins/Sms77/Sms77.py @@ -9,13 +9,12 @@ SMS77-Plugin to send FMS-, ZVEI- and POCSAG - messages to SMS77 @requires: SMS77-Configuration has to be set in the config.ini """ -import time import logging # Global logger import httplib #for the HTTP request import urllib from includes import globalVars # Global variables -from includes.helper import timeHandler +'from includes.helper import timeHandler from includes.helper import configHandler ## diff --git a/plugins/httpRequest/httpRequest.py b/plugins/httpRequest/httpRequest.py index 8002b16..81b9ba5 100644 --- a/plugins/httpRequest/httpRequest.py +++ b/plugins/httpRequest/httpRequest.py @@ -15,10 +15,7 @@ httpRequest-Plugin to dispatch FMS-, ZVEI- and POCSAG - messages to an URL # Imports # import urllib2 -import urllib -import time import logging # Global logger -import string from includes import globalVars # Global variables # Helper function, uncomment to use diff --git a/plugins/notifyMyAndroid/notifyMyAndroid.py b/plugins/notifyMyAndroid/notifyMyAndroid.py index 3776a83..ece1859 100644 --- a/plugins/notifyMyAndroid/notifyMyAndroid.py +++ b/plugins/notifyMyAndroid/notifyMyAndroid.py @@ -10,9 +10,6 @@ notifyMyAndroid-Plugin to dispatch FMS-, ZVEI- and POCSAG-messages via UDP/TCP """ import logging # Global logger - -import socket # for connection -import json # for data-transfer import csv # for loading the APIKeys diff --git a/plugins/yowsup/yowsup.py b/plugins/yowsup/yowsup.py index 6294d19..7cd49ba 100644 --- a/plugins/yowsup/yowsup.py +++ b/plugins/yowsup/yowsup.py @@ -18,7 +18,7 @@ import os from includes import globalVars -from includes.helper import timeHandler +'from includes.helper import timeHandler from includes.helper import wildcardHandler from includes.helper import configHandler