fix pep8 line length error

This commit is contained in:
= 2019-11-11 14:02:45 -06:00
parent 0c05a00dc7
commit 3d21d135c8

View file

@ -60,9 +60,10 @@ def download(url, checksum=None, as_browser=False, **kwargs):
if checksum is not None:
downloadsum = hashlib.md5(open(basename, 'rb').read()).hexdigest()
if downloadsum != checksum:
raise IOError("MD5 checksum for {} does not match. If this is your first "
"time receiving this message, please re-run the script. "
"Otherwise, please contact OpenMC developers by emailing "
raise IOError("MD5 checksum for {} does not match. If this is "
"your first time receiving this message, please "
"re-run the script. Otherwise, please contact "
"OpenMC developers by emailing "
"openmc-users@googlegroups.com.".format(basename))
return basename