updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / animecheck-git / bugfix.patch
blob9b30b6a576e3d11441d35f1c705dab5245231892
1 --- animecheck
2 +++ animecheck
3 @@ -46,7 +46,7 @@
4 sfile = file.split(dest_sum)
5 print("%s%s%s %s%s%s%s%s" % (c_in, crc, c_null, sfile[0], c_in, dest_sum, c_null, sfile[1]))
6 except(IndexError, ValueError):
7 - print(crc, " ", file)
8 - except (IOError, e):
9 - print(e)
10 + print(crc+" "+file)
11 + except(IOError) as err:
12 + print("I/O error({0}): {1}".format(err.errno, err.strerror))
13 continue