Correct flake8 errors

This commit is contained in:
Erik Schnetter 2016-08-23 14:57:29 -04:00
parent 73cae8d9c4
commit 05f5ba4bf9
2 changed files with 5 additions and 4 deletions

View File

@ -32,6 +32,7 @@ class Lrslib(Package):
problems and comes with a choice of three arithmetic packages""" problems and comes with a choice of three arithmetic packages"""
homepage = "http://cgm.cs.mcgill.ca/~avis/C/lrs.html" homepage = "http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
url = "http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-062.tar.gz" url = "http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-062.tar.gz"
def url_for_version(self, version): def url_for_version(self, version):
return ("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-%s.tar.gz" % return ("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-%s.tar.gz" %
('0' + str(version).replace('.', ''))) ('0' + str(version).replace('.', '')))