repo.or.cz
/
git-cola.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
classic: Use a QWidget for proper window management
[git-cola.git]
/
cola
/
compat.py
blob
eb0d7c6bf865addbfd76941710f99765b815560b
1
try
:
2
set
=
set
3
except
NameError
:
4
from
sets
import
Set
as
set
5
set
=
set
6
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
()