mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
fix pep8 line length error
This commit is contained in:
parent
0c05a00dc7
commit
3d21d135c8
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue