]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/lilylib.py
(grob-cause): replace backslashes by /
[lilypond.git] / python / lilylib.py
index d4772286e5e34bc2d821badd9d14e7d393611225..8d51dd57eda071f94f31fb177faeb5a8aec8c4d1 100644 (file)
@@ -18,7 +18,6 @@ import re
 import shutil
 import string
 import sys
-import tempfile
 import optparse
 
 ################################################################
@@ -94,18 +93,6 @@ def lilypond_version_check (binary, req):
                        sys.exit (1)
        
        
-def setup_temp ():
-       
-       ''' Create a temporary directory, and return its name. '''
-       
-       if not __main__.keep_temp_dir_p:
-               __main__.temp_dir = tempfile.mktemp (__main__.program_name)
-       try:
-               os.mkdir (__main__.temp_dir, 0700)
-       except OSError:
-               pass
-
-       return __main__.temp_dir
 
 def command_name (cmd):
        # Strip all stuf after command,