From 3390b9537ef00fde4a7e50f843810ddc9009554e Mon Sep 17 00:00:00 2001 From: Robert Pfeiffer Date: Thu, 2 Apr 2020 20:57:37 +0200 Subject: [PATCH] flake8 complicance --- pythonforandroid/bootstraps/common/build/build.py | 2 +- pythonforandroid/toolchain.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pythonforandroid/bootstraps/common/build/build.py b/pythonforandroid/bootstraps/common/build/build.py index 96b744e15c..e224690596 100644 --- a/pythonforandroid/bootstraps/common/build/build.py +++ b/pythonforandroid/bootstraps/common/build/build.py @@ -360,7 +360,7 @@ def make_package(args): tar_dirs.append('webview_includes') if hasattr(args, "assets") and args.assets is not None: for asset in args.assets: - asset_src, asset_dest=asset.split(":") + asset_src, asset_dest = asset.split(":") if isfile(realpath(asset_src)): ensure_dir(dirname(join(assets_dir, asset_dest))) shutil.copy(realpath(asset_src), join(assets_dir, asset_dest)) diff --git a/pythonforandroid/toolchain.py b/pythonforandroid/toolchain.py index 3e569a3dc7..83f5bf4a25 100644 --- a/pythonforandroid/toolchain.py +++ b/pythonforandroid/toolchain.py @@ -491,9 +491,10 @@ def add_parser(subparsers, *args, **kwargs): # However, it is also needed before the distribution is finally # assembled for locating the setup.py / other build systems, which # is why we also add it here: - parser_apk.add_argument('--add-asset', dest='assets', - action="append", - help=('Put this in the assets folder')) + parser_apk.add_argument( + '--add-asset', dest='assets', + action="append", + help=('Put this in the assets folder')) parser_apk.add_argument( '--private', dest='private', help='the directory with the app source code files' +