fix PEP8: W504 line break after binary operator

This commit is contained in:
Hans-Christoph Steiner 2018-05-29 12:31:56 +02:00
parent 8c4f75e05f
commit e6d5260c3c
10 changed files with 50 additions and 50 deletions

View file

@ -352,8 +352,8 @@ def assert_config_keystore(config):
nosigningkey = True
logging.critical(_("'keypass' not found in config.py!"))
if nosigningkey:
raise FDroidException("This command requires a signing key, " +
"you can create one using: fdroid update --create-key")
raise FDroidException("This command requires a signing key, "
+ "you can create one using: fdroid update --create-key")
def find_sdk_tools_cmd(cmd):
@ -2148,8 +2148,8 @@ def FDroidPopenBytes(commands, cwd=None, envs=None, output=True, stderr_to_stdou
stdin=subprocess.DEVNULL, stdout=subprocess.PIPE,
stderr=stderr_param)
except OSError as e:
raise BuildException("OSError while trying to execute " +
' '.join(commands) + ': ' + str(e))
raise BuildException("OSError while trying to execute "
+ ' '.join(commands) + ': ' + str(e))
# TODO are these AsynchronousFileReader threads always exiting?
if not stderr_to_stdout and options.verbose: