From 94acf0ed2b3e6af06c9a89a24996aab20a4f1f56 Mon Sep 17 00:00:00 2001 From: David Black Date: Mon, 15 Oct 2012 22:22:26 +0100 Subject: [PATCH] tweak pulltorefresh srclib --- fdroidserver/common.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 9344aa5f..139aacb8 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1140,14 +1140,7 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False): vcs = getvcs('git', 'https://github.com/chrisbanes/Android-PullToRefresh.git', sdir, sdk_path) vcs.gotorevision(ref) - libdir = os.path.join(sdir, 'library') - if subprocess.call([os.path.join(sdk_path, 'tools', 'android'), - 'update', 'project', '-p', - libdir]) != 0: - raise BuildException('Error updating PullToRefresh project') - if basepath: - return sdir - return libdir + return sdir if name == 'TessTwo': sdir = os.path.join(extlib_dir, 'TessTwo')