Skip to content

Commit 7927dcc

Browse files
committed
Merge branch 'master' of ssh://github.com/kivy/python-for-android
2 parents f6d3f9f + ff07dc2 commit 7927dcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ def make_package(args):
325325

326326
# Build.
327327
try:
328-
map(lambda arg: subprocess.call([ANT, arg]), args.command)
328+
for arg in args.command:
329+
subprocess.check_call([ANT, arg])
329330
except (OSError, IOError):
330331
print 'An error occured while calling', ANT
331332
print 'Did you install ant on your system ?'

0 commit comments

Comments
 (0)