
# from jaraco.compat 1.2
try:
    from functools import wraps
except ImportError:
    def wraps(func):
        "Just return the function unwrapped"
        return lambda x: x


# from jaraco.compat 1.2
try:
    from functools import wraps
except ImportError:
    def wraps(func):
        "Just return the function unwrapped"
        return lambda x: x


try:
    import hashlib
except ImportError:
    from setuptools._backport import hashlib

Add a shim for python 2.4 compatability with hashlib
Add a shim for python 2.4 compatability with hashlib

--HG--
extra : rebase_source : 5f573e600aadbe9c95561ee28c05cee02c7db559

  
  # from jaraco.compat 1.2
  try:
      from functools import wraps
  except ImportError:
      def wraps(func):
          "Just return the function unwrapped"
          return lambda x: x
  
+ 
+ try:
+     import hashlib
+ except ImportError:
+     from setuptools._backport import hashlib
+ 
Add a shim for python 2.4 compatability with hashlib
## Code Before:

# from jaraco.compat 1.2
try:
    from functools import wraps
except ImportError:
    def wraps(func):
        "Just return the function unwrapped"
        return lambda x: x

## Instruction:
Add a shim for python 2.4 compatability with hashlib
## Code After:

# from jaraco.compat 1.2
try:
    from functools import wraps
except ImportError:
    def wraps(func):
        "Just return the function unwrapped"
        return lambda x: x


try:
    import hashlib
except ImportError:
    from setuptools._backport import hashlib
