~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
..
doc_generate 1534.7.158 18 years ago Aaron Bentley Merged John Meinel's integration Diff
win32 1821.1.1 18 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 Diff
__init__.py 1534.7.158 18 years ago Aaron Bentley Merged John Meinel's integration Empty Diff Download File
File biobench.py 1185.44.26 19 years ago Martin Pool Make biobench directly executable 2.3 KB Diff Download File
bzr_epydoc 2399.1.15 17 years ago John Arbash Meinel [merge] api-doc-builder and remove the pydoctor bu 264 bytes Diff Download File
bzr_epydoc_uid.py 2399.1.15 17 years ago John Arbash Meinel [merge] api-doc-builder and remove the pydoctor bu 1.3 KB Diff Download File
capture_tree.py 2624.1.1 17 years ago Adeodato Simó Loose python2.4-specific shebangs; use generic pyt 1 KB Diff Download File
convertfile.py 1887.1.1 18 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.1 KB Diff Download File
convertinv.py 1887.1.1 18 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2 KB Diff Download File
history2revfiles.py 1887.1.1 18 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.8 KB Diff Download File
http_client.py 1963.2.6 18 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 15 KB Diff Download File
riodemo.py 1185.47.1 19 years ago Martin Pool [broken] start converting basic_io to more rfc822- 1.9 KB Diff Download File
File rst2html.py 2677.1.1 17 years ago Alexander Belchenko rst2html: workaround for IE bug with id="tags" 1.2 KB Diff Download File
File rst2prettyhtml.py 2691.1.17 17 years ago Ian Clatworthy Fix pretty doc generation so works for all html do 1.8 KB Diff Download File
File trace-revisions 2624.1.1 17 years ago Adeodato Simó Loose python2.4-specific shebangs; use generic pyt 317 bytes Diff Download File
weavebench.py 1887.1.1 18 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.6 KB Diff Download File
weavemerge.sh 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 584 bytes Diff Download File