mirror of https://github.com/BOINC/boinc.git
- fix python deprecation warning (from Jeremy Cowles)
svn path=/trunk/boinc/; revision=20122
This commit is contained in:
parent
b5b6b1e794
commit
c27f2486e7
|
@ -264,3 +264,9 @@ David 10 Jan 2010
|
|||
|
||||
clientgui/
|
||||
ViewNotifications.cpp
|
||||
|
||||
David 10 Jan 2010
|
||||
- fix python deprecation warning (from Jeremy Cowles)
|
||||
|
||||
py/Boinc/
|
||||
tools.py
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
## $Id$
|
||||
|
||||
import configxml
|
||||
import os, md5, shutil, binascii, filecmp
|
||||
try:
|
||||
# use new hashlib if available
|
||||
from hashlib import md5
|
||||
except:
|
||||
import md5
|
||||
import os, shutil, binascii, filecmp
|
||||
|
||||
def check_immutable(src, dst):
|
||||
if not os.path.exists(dst):
|
||||
|
|
Loading…
Reference in New Issue