mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-04 15:42:16 +08:00
pep8: don't surround '=' with spaces for keyword args
This commit is contained in:
@@ -13,7 +13,7 @@ logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
|
||||
def build_from_scm(artifact_name, source, config, build_srpm,
|
||||
data = None, stdout=None, stderr=None):
|
||||
data=None, stdout=None, stderr=None):
|
||||
"""
|
||||
Builds the artifact from the SCM based source.
|
||||
|
||||
@@ -65,7 +65,7 @@ def build_from_scm(artifact_name, source, config, build_srpm,
|
||||
return ret
|
||||
|
||||
|
||||
def execute_cmd(args, stdout = None, stderr = None, cwd = None):
|
||||
def execute_cmd(args, stdout=None, stderr=None, cwd=None):
|
||||
"""
|
||||
Executes command defined by `args`. If `stdout` or `stderr` is set to
|
||||
Python file object, the stderr/stdout output is redirecter to that file.
|
||||
|
||||
Reference in New Issue
Block a user