equal
deleted
inserted
replaced
29 # |
29 # |
30 |
30 |
31 import os |
31 import os |
32 import sys |
32 import sys |
33 import shutil |
33 import shutil |
34 from urllib import splittype, urlopen |
34 from urllib import splittype |
|
35 from urllib2 import urlopen |
35 import hashlib |
36 import hashlib |
36 |
37 |
37 def printIOError(e, txt): |
38 def printIOError(e, txt): |
38 """ Function to decode and print IOError type exception """ |
39 """ Function to decode and print IOError type exception """ |
39 print "I/O Error: " + txt + ": " |
40 print "I/O Error: " + txt + ": " |