~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Martin
  • Date: 2010-07-04 07:48:25 UTC
  • mto: This revision was merged to the branch mainline in revision 5334.
  • Revision ID: gzlist@googlemail.com-20100704074825-n6vrm6lqcdbs71q4
Avoid infinite recursion with _win32_mkdtemp by using module namespaced name

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
 
353
353
 
354
354
def _win32_mkdtemp(*args, **kwargs):
355
 
    return _win32_fixdrive(mkdtemp(*args, **kwargs).replace('\\', '/'))
 
355
    return _win32_fixdrive(tempfile.mkdtemp(*args, **kwargs).replace('\\', '/'))
356
356
 
357
357
 
358
358
def _win32_rename(old, new):