Skip to content

Commit a3c3400

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

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,10 @@ def add_parser(subparsers, *args, **kwargs):
490490
# However, it is also needed before the distribution is finally
491491
# assembled for locating the setup.py / other build systems, which
492492
# is why we also add it here:
493-
parser_apk.add_argument('--add-asset', dest='assets',
494-
action="append",
495-
help=('Put this in the assets folder'))
493+
parser_apk.add_argument(
494+
'--add-asset', dest='assets',
495+
action="append",
496+
help=('Put this in the assets folder'))
496497
parser_apk.add_argument(
497498
'--private', dest='private',
498499
help='the directory with the app source code files' +

0 commit comments

Comments
 (0)