rename globals to globalVars

to prevent to redifine an builtin function
This commit is contained in:
Bastian Schroll 2016-10-03 11:56:27 +02:00
parent e8e870849d
commit f8fcda94b6
30 changed files with 115 additions and 115 deletions

View file

@ -13,7 +13,7 @@ Handler for the filter and plugins at an alarm
import logging # Global logger
import time # timestamp
from includes import globals # Global variables
from includes import globalVars # Global variables
##
#

View file

@ -10,7 +10,7 @@ Used in boswatch.py at startup and designated for watching-service
import logging
from includes import globals # Global variables
from includes import globalVars # Global variables
def checkRTL():

View file

@ -12,7 +12,7 @@ FMS Decoder
import logging # Global logger
import re # Regex for validation
from includes import globals # Global variables
from includes import globalVars # Global variables
from includes import doubleFilter # double alarm filter
##

View file

@ -13,7 +13,7 @@ POCSAG Decoder
import logging # Global logger
import re # Regex for validation
from includes import globals # Global variables
from includes import globalVars # Global variables
from includes import doubleFilter # double alarm filter
##

View file

@ -12,7 +12,7 @@ ZVEI Decoder
import logging # Global logger
import re # Regex for validation
from includes import globals # Global variables
from includes import globalVars # Global variables
from includes import doubleFilter # double alarm filter
##

View file

@ -12,7 +12,7 @@ Function to expand the dataset with a description.
import logging # Global logger
import csv # for loading the description files
from includes import globals # Global variables
from includes import globalVars # Global variables
from includes.helper import stringConverter

View file

@ -14,7 +14,7 @@ and the time ignoring the id in case of a double alarm
import logging # Global logger
import time # timestamp for doublealarm
from includes import globals # Global variables
from includes import globalVars # Global variables
#
# ListStructure [0..n] = (ID, TimeStamp, msg)

View file

@ -10,7 +10,7 @@ for direct use in plugins to save code
"""
import logging
from includes import globals
from includes import globalVars
def checkConfig(section=""):

View file

@ -14,7 +14,7 @@ import imp
import os
from ConfigParser import NoOptionError # we need this exception
from includes import globals # Global variables
from includes import globalVars # Global variables
def loadPlugins():
"""

View file

@ -12,7 +12,7 @@ Functions for the RegEX filter
import logging # Global logger
import re #Regex for Filter Check
from includes import globals # Global variables
from includes import globalVars # Global variables
from includes.helper import freqConverter # converter functions

View file

@ -10,7 +10,7 @@ Shows the header in shell if quiet mode is not active
@requires: none
"""
from includes import globals
from includes import globalVars
def printHeader(args):
"""