chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a82076a
)
Warn about nonexistent subdirs in RM
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 4 Jul 2013 11:54:59 +0000
(13:54 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 4 Jul 2013 11:54:59 +0000
(13:54 +0200)
fdroidserver/checkupdates.py
patch
|
blob
|
history
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index bf4619930cf50d3080b9bad740960259bc48df65..53963837b77ec890d226ab391a193595bb6770cc 100644
(file)
--- a/
fdroidserver/checkupdates.py
+++ b/
fdroidserver/checkupdates.py
@@
-139,6
+139,9
@@
def check_repomanifest(app, sdk_path, branch=None):
if 'subdir' in app['builds'][-1]:
build_dir = os.path.join(build_dir, app['builds'][-1]['subdir'])
+ if !os.path.isdir(build_dir):
+ return (None, "Subdir '" + app['builds'][-1]['subdir'] + "'is not a valid directory")
+
version, vercode, package = common.parse_androidmanifest(build_dir)
if not package:
return (None, "Couldn't find package ID")