mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Correct new flake8 warnings
This commit is contained in:
parent
a982e0c4f4
commit
5a19887a22
4 changed files with 7 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ def _input_compat(prompt):
|
|||
r = raw_input(prompt)
|
||||
return r
|
||||
|
||||
|
||||
if six.PY3:
|
||||
str_compat = str
|
||||
else:
|
||||
|
|
@ -81,6 +82,7 @@ else:
|
|||
class _DEFAULT_PATH_TYPE(str_compat):
|
||||
is_default_path = True
|
||||
|
||||
|
||||
_DEFAULT_PATH = _DEFAULT_PATH_TYPE(os.curdir)
|
||||
|
||||
|
||||
|
|
@ -412,5 +414,6 @@ needed by Pelican.
|
|||
|
||||
print('Done. Your new project is available at %s' % CONF['basedir'])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue