Skip to content

Commit

Permalink
flake8 complicance
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Pfeiffer committed Apr 2, 2020
1 parent fb1c49a commit 3390b95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pythonforandroid/bootstraps/common/build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
7 changes: 4 additions & 3 deletions pythonforandroid/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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' +
Expand Down

0 comments on commit 3390b95

Please sign in to comment.