From 44bbd13b47b6dd28a2ee4c4e2b227a0ed8489c6b Mon Sep 17 00:00:00 2001 From: Kjell Wooding Date: Wed, 9 Jan 2019 14:51:16 -0500 Subject: [PATCH] Whoops. Missed some references --- buildozer/target.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/buildozer/target.py b/buildozer/target.py index c02d072..fbdd5f1 100644 --- a/buildozer/target.py +++ b/buildozer/target.py @@ -1,6 +1,6 @@ from sys import exit import os - +from os.path import join def no_config(f): f.__no_config = True @@ -244,11 +244,9 @@ class Target(object): :Returns: fully qualified path to updated git repo """ - if platform is None: - raise Exception("platform is a required keyword argument") cmd = self.buildozer.cmd install_dir = join(self.buildozer.platform_dir, repo) - custom_dir, clone_url, clone_branch = self.path_or_git_url(repo, platform=platform, **kwargs) + custom_dir, clone_url, clone_branch = self.path_or_git_url(repo, **kwargs) if not self.buildozer.file_exists(install_dir): if custom_dir: cmd('mkdir -p "{}"'.format(install_dir))