Skip to content

Commit 0728a11

Browse files
author
Robert Pfeiffer
committed
more flake8 compliance
1 parent 6ebd684 commit 0728a11

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ def make_package(args):
243243
shutil.rmtree(assets_dir)
244244
ensure_dir(assets_dir)
245245
open(os.path.join(assets_dir, ".gitkeep"), 'a').close()
246-
247246

248247
# Add extra environment variable file into tar-able directory:
249248
env_vars_tarpath = tempfile.mkdtemp(prefix="p4a-extra-env-")
@@ -308,7 +307,7 @@ def make_package(args):
308307
tar_dirs.append('webview_includes')
309308
if hasattr(args, "assets") and args.assets is not None:
310309
for asset in args.assets:
311-
asset_src, asset_dest=asset.split(":")
310+
asset_src, asset_dest = asset.split(":")
312311
if isfile(realpath(asset_src)):
313312
ensure_dir(dirname(join(assets_dir, asset_dest)))
314313
shutil.copy(realpath(asset_src), join(assets_dir, asset_dest))

pythonforandroid/toolchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ def add_parser(subparsers, *args, **kwargs):
491491
# assembled for locating the setup.py / other build systems, which
492492
# is why we also add it here:
493493
parser_apk.add_argument('--add-asset', dest='assets',
494-
action="append",
495-
help=('Put this in the assets folder'))
494+
action="append",
495+
help=('Put this in the assets folder'))
496496
parser_apk.add_argument(
497497
'--private', dest='private',
498498
help='the directory with the app source code files' +

0 commit comments

Comments
 (0)