Drop the commit system

Ref https://github.com/GNS3/gns3-gui/issues/1243
This commit is contained in:
Julien Duponchelle committed 2016-06-14 10:16:33 +02:00
1 parent 52f852bc6d
commit 3255be0ae2
9 files changed
+2 -150

No files matched your search

+1 -11
View File
@@ -288,16 +288,6 @@ class BaseManager:
pass
@asyncio.coroutine
def project_committed(self, project):
"""
Called when a project is committed.
:param project: Project instance
"""
pass
@asyncio.coroutine
def delete_node(self, node_id):
"""
@@ -309,7 +299,7 @@ class BaseManager:
node = yield from self.close_node(node_id)
node.project.emit("node.deleted", node)
node.project.mark_node_for_destruction(node)
yield from node.project.remove_node(node)
if node.id in self._nodes:
del self._nodes[node.id]
return node