~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2007-10-24 13:56:34 UTC
  • mto: (3928.1.1 bzr.integration)
  • Revision ID: v.ladeuil+lp@free.fr-20071024135634-d8os3by1g6f45q12
Fix python2.6 deprecation warnings (still 4 failures 5 errors in test suite).

* bzrlib/osutils.py: 
Wrap md5 and sha imports to be compatible with python 2.4, 2.5,
2.6.
Replace all sha.new() calls by sha() calls they are reputedly
faster (not profiled).

* bzrlib/weave.py: 
Update sha import, fix use.     

* bzrlib/transport/http/_urllib2_wrappers.py: 
Update sha and md5 imports, fix uses.

* bzrlib/tests/test_testament.py: 
Update sha import.

* bzrlib/tests/test_knit.py: 
Update sha import, fix uses.    

* bzrlib/tests/test_hashcache.py: 
Update sha import, fix use.     

* bzrlib/tests/repository_implementations/test_check_reconcile.py: 
Update sha import, fix use.     

* bzrlib/tests/HTTPTestUtil.py: 
Update md5 import, fix uses. Delete useless sha import.

* bzrlib/testament.py: 
Update sha import.

* bzrlib/hashcache.py: 
Update sha import.

* bzrlib/revisionspec.py:
(RevisionSpec.__new__): Remove useless parameters since python2.6
is stricter.
Filename Latest Rev Last Changed Committer Comment Size
..
serializer 1185.82.3 19 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 2485.8.35 17 years ago Vincent Ladeuil Fix pull multiple connections. * bzrlib/builtins. 3.6 KB Diff Download File
apply_bundle.py 2520.4.6 17 years ago Aaron Bentley Get installation started 2.8 KB Diff Download File
bundle_data.py 2858.2.1 17 years ago Martin Pool Remove most calls to safe_file_id and safe_revisio 29.2 KB Diff Download File
commands.py 2911.6.1 17 years ago Blake Winton Change 'print >> f,'s to 'f.write('s. 3.8 KB Diff Download File