clean: remove unused lock
This commit is contained in:
parent
ee93a5b209
commit
45437660ba
@ -44,7 +44,7 @@ from . import environment
|
||||
|
||||
|
||||
DEPENDENCIES = {
|
||||
("replication", '0.1.6'),
|
||||
("replication", '0.2.0'),
|
||||
}
|
||||
|
||||
|
||||
|
@ -699,12 +699,10 @@ def sanitize_deps_graph(dummy):
|
||||
"""
|
||||
|
||||
if session and session.state['STATE'] == STATE_ACTIVE:
|
||||
session.lock()
|
||||
for node_key in session.list():
|
||||
node = session.get(node_key)
|
||||
if node and not node.resolve(construct=False):
|
||||
session.remove(node_key)
|
||||
session.unlock()
|
||||
|
||||
@persistent
|
||||
def load_pre_handler(dummy):
|
||||
|
Loading…
Reference in New Issue
Block a user