mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-06 06:53:32 +00:00
rename globals to globalVars
to prevent to redifine an builtin function
This commit is contained in:
parent
e8e870849d
commit
f8fcda94b6
30 changed files with 115 additions and 115 deletions
|
|
@ -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
|
||||
|
||||
##
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
##
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
##
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
##
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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=""):
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue