Skip to content

Remove unused variable in archs.py #1649

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pythonforandroid/archs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from os import environ, uname
from os.path import (exists, join, dirname, split)
from glob import glob
import sys

from pythonforandroid.recipe import Recipe
from pythonforandroid.util import BuildInterruptingException, build_platform
Expand Down Expand Up @@ -96,10 +95,6 @@ def get_env(self, with_flags_in_cc=True, clang=False):
if self.ctx.ndk == 'crystax':
env['LDFLAGS'] += ' -L{}/sources/crystax/libs/{} -lcrystax'.format(self.ctx.ndk_dir, self.arch)

py_platform = sys.platform
if py_platform in ['linux2', 'linux3']:
py_platform = 'linux'

toolchain_prefix = self.ctx.toolchain_prefix
toolchain_version = self.ctx.toolchain_version
command_prefix = self.command_prefix
Expand Down