Renamed GLOBAL_HANDLER to GLOBAL_SCRIPTS and cleaned up to PEP8

This commit is contained in:
Andrew Bastien 2019-04-11 11:29:38 -04:00
parent 857c6d53f2
commit f1c7471691
3 changed files with 17 additions and 15 deletions

View file

@ -109,7 +109,7 @@ TASK_HANDLER = None
TICKER_HANDLER = None
MONITOR_HANDLER = None
CHANNEL_HANDLER = None
GLOBAL_HANDLER = None
GLOBAL_SCRIPTS = None
def _create_version():
@ -153,7 +153,7 @@ def _init():
global search_object, search_script, search_account, search_channel, search_help, search_tag, search_message
global create_object, create_script, create_account, create_channel, create_message, create_help_entry
global settings, lockfuncs, logger, utils, gametime, ansi, spawn, managers
global contrib, TICKER_HANDLER, MONITOR_HANDLER, SESSION_HANDLER, CHANNEL_HANDLER, TASK_HANDLER, GLOBAL_HANDLER
global contrib, TICKER_HANDLER, MONITOR_HANDLER, SESSION_HANDLER, CHANNEL_HANDLER, TASK_HANDLER, GLOBAL_SCRIPTS
global EvMenu, EvTable, EvForm, EvMore, EvEditor
global ANSIString
@ -214,7 +214,7 @@ def _init():
from .server.sessionhandler import SESSION_HANDLER
from .comms.channelhandler import CHANNEL_HANDLER
from .scripts.monitorhandler import MONITOR_HANDLER
from .scripts.globalhandler import GLOBAL_HANDLER
from .scripts.globalhandler import GLOBAL_SCRIPTS
# initialize the doc string
global __doc__