From 1dc5492fd22d2a201c2a643311aea85ad29ce8f0 Mon Sep 17 00:00:00 2001 From: "tgoff0@gmail.com" Date: Wed, 21 Jan 2015 21:37:31 +0000 Subject: [PATCH] Some trivial code cleanup. --- trunk/daemon/core/misc/xmlparser1.py | 1 - trunk/gui/filemgmt.tcl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/trunk/daemon/core/misc/xmlparser1.py b/trunk/daemon/core/misc/xmlparser1.py index 25938f68..f1fff574 100644 --- a/trunk/daemon/core/misc/xmlparser1.py +++ b/trunk/daemon/core/misc/xmlparser1.py @@ -8,7 +8,6 @@ from core.netns import nodes from xml.dom.minidom import parse -from xml.dom.minidom import Document from xmlutils import * class CoreDocumentParser1(object): diff --git a/trunk/gui/filemgmt.tcl b/trunk/gui/filemgmt.tcl index 6065a7c8..377df378 100644 --- a/trunk/gui/filemgmt.tcl +++ b/trunk/gui/filemgmt.tcl @@ -208,7 +208,7 @@ proc openFile { filename } { close $fileId loadCfg $cfg - switchCanvas none; + switchCanvas none set undolog(0) $cfg set activetool select