You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2004/02/18 01:04:52 UTC

cvs commit: jakarta-gump/python/gump/utils launcher.py

ajack       2004/02/17 16:04:52

  Modified:    python/gump/utils launcher.py
  Log:
  mkdir (1) -> makedirs (as many as needed)
  
  Revision  Changes    Path
  1.12      +4 -4      jakarta-gump/python/gump/utils/launcher.py
  
  Index: launcher.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/utils/launcher.py,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- launcher.py	17 Feb 2004 21:54:21 -0000	1.11
  +++ launcher.py	18 Feb 2004 00:04:52 -0000	1.12
  @@ -394,7 +394,7 @@
                 log.debug('Executing with CWD: [' + cmd.cwd + ']')
       
                 cwdpath=os.path.abspath(cmd.cwd)
  -              if not os.path.exists(cwdpath): os.mkdir(cwdpath)
  +              if not os.path.exists(cwdpath): os.makedirs(cwdpath)
                 os.chdir(cwdpath)
             except Exception, details :
                 # Log the problem and re-raise