Flake8 errors corrected
Corrected all errors given by Flake8 except line length
This commit is contained in:
parent
a74f4f3feb
commit
cb0acf7ea6
4
TODO
4
TODO
@ -2,7 +2,3 @@ What happen when a file is moved with git ?
|
||||
Flake8 the whole thing ! :)
|
||||
basepath ?
|
||||
tags / smileys / ...
|
||||
|
||||
Known bugs:
|
||||
==========
|
||||
* Test RSS in Firefox (different view than traditionnal RSS view ?)
|
||||
|
@ -11,6 +11,7 @@ import subprocess
|
||||
|
||||
from time import gmtime, strftime, mktime
|
||||
|
||||
|
||||
def isset(variable):
|
||||
return variable in locals() or variable in globals()
|
||||
|
||||
@ -517,7 +518,6 @@ for i in years_list:
|
||||
except IOError:
|
||||
sys.exit("[ERROR] Error while generating years and months pages. Check your gen folder, you may need to regenerate some articles. The error was due to "+article+".")
|
||||
|
||||
|
||||
page_month += footer_gen
|
||||
try:
|
||||
with open("blog/"+i+"/"+j+"/index.html", "w") as page_month_fh:
|
||||
|
Loading…
Reference in New Issue
Block a user