[entropy.services.repository] properly enable Repository commands when repository_lock_scanner is available
This commit is contained in:
@@ -53,7 +53,7 @@ class Server(SocketHost):
|
||||
etpConst['socketloglevel'] = 1
|
||||
if 'external_cmd_classes' not in kwargs:
|
||||
kwargs['external_cmd_classes'] = []
|
||||
if not repository_lock_scanner:
|
||||
if repository_lock_scanner:
|
||||
kwargs['external_cmd_classes'].insert(0,
|
||||
self.__repository_commands_class)
|
||||
SocketHost.__init__(
|
||||
|
||||
Reference in New Issue
Block a user