- fix python deprecation warning (from Jeremy Cowles)

svn path=/trunk/boinc/; revision=20122
This commit is contained in:
David Anderson 2010-01-11 06:10:17 +00:00
parent b5b6b1e794
commit c27f2486e7
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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):