Remove unused global variable in tryton plugins and rpc
This commit is contained in:
@@ -14,7 +14,6 @@ MODULES = []
|
||||
|
||||
|
||||
def register():
|
||||
global MODULES
|
||||
paths = [
|
||||
os.path.join(get_config_dir(), 'plugins'),
|
||||
os.path.join(CURRENT_DIR, 'plugins'),
|
||||
|
||||
@@ -167,7 +167,6 @@ def reset_password():
|
||||
|
||||
|
||||
def execute(*args):
|
||||
global CONNECTION, _USER
|
||||
if CONNECTION is None:
|
||||
raise TrytonServerError('403')
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user