Merge lp:~gz/bzr/win32_mkdtemp_infinite_recursion into lp:bzr
| Status: | Merged |
|---|---|
| Approved by: | John A Meinel on 2010-07-04 |
| Approved revision: | 5332 |
| Merged at revision: | 5334 |
| Proposed branch: | lp:~gz/bzr/win32_mkdtemp_infinite_recursion |
| Merge into: | lp:bzr |
| Diff against target: |
12 lines (+1/-1) 1 file modified
bzrlib/osutils.py (+1/-1) |
| To merge this branch: | bzr merge lp:~gz/bzr/win32_mkdtemp_infinite_recursion |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| John A Meinel | 2010-07-04 | Approve on 2010-07-04 | |
|
Review via email:
|
|||
Commit Message
Fix regression from r5326 that caused infinite recursion in osutils.
Description of the Change
Fixes a regression from r5326 caused by removing `tempfile.` from the start of `mkdtemp` inside a function that is then bound as `mkdtemp` on Windows.
Would like to clean up osutils to avoid craziness like this, and am not actually convinced the lazy import of tempfile is ever a win, but just reverting the one line for now.
This was actually caught by babune, but red is both "tests failed" and "test run aborted" so it wasn't obvious:
http://
| Robert Collins (lifeless) wrote : | # |
| John A Meinel (jameinel) wrote : | # |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin [gz] wrote:
> Martin [gz] has proposed merging lp:~gz/bzr/win32_mkdtemp_infinite_recursion into lp:bzr.
>
> Requested reviews:
> bzr-core (bzr-core)
>
>
> Fixes a regression from r5326 caused by removing `tempfile.` from the start of `mkdtemp` inside a function that is then bound as `mkdtemp` on Windows.
>
> Would like to clean up osutils to avoid craziness like this, and am not actually convinced the lazy import of tempfile is ever a win, but just reverting the one line for now.
>
> This was actually caught by babune, but red is both "tests failed" and "test run aborted" so it wasn't obvious:
> http://
>
merge: approve
Since the Review queue doesn't actually support "+1" anymore.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkw
8okAnRPncPLgjfJ
=H9/O
-----END PGP SIGNATURE-----
| Robert Collins (lifeless) wrote : | # |
sent to pqm by email

+1