Functions
srt_ntide_dummy_files Namespace Reference

Functions

def record_temp_file (file)
 
def delete_temp_files ()
 

Function Documentation

def srt_ntide_dummy_files.delete_temp_files ( )

Definition at line 24 of file srt_ntide_dummy_files.py.

References srt_ntbashutil.translate_path().

25  if os.environ.has_key("IDE_TEMP_FILE_LIST"):
26  fname = os.environ["IDE_TEMP_FILE_LIST"]
27  fname = srt_ntbashutil.translate_path(fname)
28  if os.path.exists(fname):
29  temp_file = open (fname)
30  line = " "
31  while line != "":
32  line = temp_file.readline()
33  fname = line[:-1]
34  if os.path.exists(fname):
35  os.unlink (fname)
36  temp_file.close()
37 
def translate_path(bash_path)
def srt_ntide_dummy_files.record_temp_file (   file)

Definition at line 16 of file srt_ntide_dummy_files.py.

References srt_ntbashutil.translate_path().

16 def record_temp_file (file):
17  if os.environ.has_key("IDE_TEMP_FILE_LIST"):
18  fname = os.environ["IDE_TEMP_FILE_LIST"]
19  fname = srt_ntbashutil.translate_path(fname)
20  temp_file = open (fname, "a+")
21  temp_file.write (file + "\n")
22  temp_file.close()
23 
def translate_path(bash_path)