Skip to content
Permalink
Browse files

Make it work with Python 2.4 as well.

  • Loading branch information...
cyrusdaboo committed Apr 10, 2007
1 parent 21f9f68 commit 3a643d0b637c2eefa3d31f5361c59bf6a2e7c0a5
Showing with 5 additions and 1 deletion.
  1. +5 −1 twistedcaldav/tap.py
@@ -16,7 +16,11 @@
# DRI: David Reid, dreid@apple.com
##

from hashlib import sha1
try:
from hashlib import sha1
except ImportError:
import sha
sha1 = sha.new
import random
import os
import stat

0 comments on commit 3a643d0

Please sign in to comment.
You can’t perform that action at this time.