~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-01 23:52:16 UTC
  • mto: (1185.50.19 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1532.
  • Revision ID: john@arbash-meinel.com-20051201235216-50aa021d8ed62620
Some corrections using the new osutils.rename. **ALL TESTS PASS**

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
            if success:
159
159
                unlink_func(tmp_name)
160
160
            else:
161
 
                rename_func(tmp_name, final_path)
 
161
                rename_func(tmp_name, new)
162
162
 
163
163
# Default is to just use the python builtins
164
164
abspath = os.path.abspath