classic: Use a QWidget for proper window management
[git-cola.git] / cola / compat.py
blobeb0d7c6bf865addbfd76941710f99765b815560b
1 try:
2 set = set
3 except NameError:
4 from sets import Set as set
5 set = set
7 try:
8 import hashlib
9 except ImportError:
10 import md5
11 class hashlib(object):
12 @staticmethod
13 def new(*args):
14 return md5.new()