~ubuntu-branches/ubuntu/precise/trac/precise

« back to all changes in this revision

Viewing changes to trac/util/compat.py

  • Committer: Bazaar Package Importer
  • Author(s): Luis Matos
  • Date: 2008-08-16 00:08:30 UTC
  • mfrom: (1.1.14 upstream) (14.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080816000830-q50gglu6pbj0gas2
Tags: 0.11.1-2
* Upstream version 
  "Trac 0.11.1 contains a number of bug fixes and minor enhancements."
* Patch setup.py to install the contrib dir ( Closes: #495019 )
* Modified compatible version of trac-bzr so that trac 0.11.1 an be
  used with the current trac-bzr version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        except TypeError: # python 2.3
140
140
            pass
141
141
        return newfunc
 
142
 
 
143
 
 
144
# The md5 module is deprecated in Python 2.5
 
145
try:
 
146
    from hashlib import md5
 
147
except ImportError:
 
148
    from md5 import md5