Permalink
Browse files

Fix to use temporary file

  • Loading branch information...
shiena committed Jan 29, 2012
1 parent fe36804 commit 7e73226c4a7dd799e4a874f33f55ee4bff9d506c
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugin/debugger.py
View
@@ -58,6 +58,7 @@
import traceback
import xml.dom.minidom
import urllib
+import tempfile
#######################################################################################################################
# #
@@ -439,7 +440,7 @@ def __init__(self, debugger, dedicatedtab, minibufexpl = 0):
self.line = None
self.winbuf = {}
self.cursign = None
- self.sessfile = "/tmp/debugger_vim_saved_session." + str(os.getpid())
+ self.sessfile = tempfile.NamedTemporaryFile().name;
self.minibufexpl = minibufexpl
# tab stuff
self.dedicatedtab = dedicatedtab

0 comments on commit 7e73226

Please sign in to comment.