mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Adjust coding style to make CI build pass.
Coding style checker: pep8 --ignore E501,E128,E731 <...>
This commit is contained in:
parent
c2f02cd14b
commit
086d176c28
2 changed files with 4 additions and 3 deletions
|
@ -103,6 +103,7 @@ class CommentParameter(_ExtraParameter):
|
||||||
% value)
|
% value)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
class AskParameter(_ExtraParameter):
|
class AskParameter(_ExtraParameter):
|
||||||
"""
|
"""
|
||||||
Ask for the argument value if possible and needed.
|
Ask for the argument value if possible and needed.
|
||||||
|
|
|
@ -60,7 +60,7 @@ def call_async_output(args, callback, **kwargs):
|
||||||
raise ValueError('%s argument not allowed, '
|
raise ValueError('%s argument not allowed, '
|
||||||
'it will be overridden.' % a)
|
'it will be overridden.' % a)
|
||||||
|
|
||||||
if "stdinfo" in kwargs and kwargs["stdinfo"] != None:
|
if "stdinfo" in kwargs and kwargs["stdinfo"] is not None:
|
||||||
assert len(callback) == 3
|
assert len(callback) == 3
|
||||||
stdinfo = kwargs.pop("stdinfo")
|
stdinfo = kwargs.pop("stdinfo")
|
||||||
os.mkfifo(stdinfo, 0600)
|
os.mkfifo(stdinfo, 0600)
|
||||||
|
|
Loading…
Add table
Reference in a new issue