Skip to content

Commit

Permalink
more flake8 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Pfeiffer committed Apr 2, 2020
1 parent 6ebd684 commit 0728a11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pythonforandroid/bootstraps/common/build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ def make_package(args):
shutil.rmtree(assets_dir)
ensure_dir(assets_dir)
open(os.path.join(assets_dir, ".gitkeep"), 'a').close()


# Add extra environment variable file into tar-able directory:
env_vars_tarpath = tempfile.mkdtemp(prefix="p4a-extra-env-")
Expand Down Expand Up @@ -308,7 +307,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))
Expand Down
4 changes: 2 additions & 2 deletions pythonforandroid/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,8 @@ def add_parser(subparsers, *args, **kwargs):
# 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'))
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' +
Expand Down

0 comments on commit 0728a11

Please sign in to comment.