GUI BUGFIX: On some file systems, problems with case-insensitivity and name clash between sys module and local.

This commit is contained in:
Cas Cremers 2009-04-30 15:06:28 +02:00
parent cd33fb3e14
commit 2a2a087cf6
3 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,7 @@ import sys
""" Import scyther components """ """ Import scyther components """
""" Import scyther-gui components """ """ Import scyther-gui components """
import Tempfile import Temporary
import Preference import Preference
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@ -123,7 +123,7 @@ def makeImageDot(dotdata,attackthread=None):
ext = ".png" ext = ".png"
# command to write to temporary file # command to write to temporary file
(fd2,fpname2) = Tempfile.tempcleaned(ext) (fd2,fpname2) = Temporary.tempcleaned(ext)
f = os.fdopen(fd2,'w') f = os.fdopen(fd2,'w')
cmd = "dot -T%s" % (type) cmd = "dot -T%s" % (type)

View File

@ -33,7 +33,6 @@ import Scyther.Error
from Scyther.Misc import * from Scyther.Misc import *
""" Import scyther-gui components """ """ Import scyther-gui components """
import Tempfile
import Preference import Preference
import Attackwindow import Attackwindow
import Icon import Icon