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:
25a84a0
)
Fix archive repo apk names and source references properly
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 16 May 2013 08:30:08 +0000
(09:30 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 16 May 2013 08:30:08 +0000
(09:30 +0100)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index fff53419ef61986531030ddafb86c8abbd7ef60c..1a5cd3d47e8f5c800b94eb8d9afd51cc1c39b86f 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-232,7
+232,7
@@
def scan_apks(apps, apkcache, repodir, knownapks):
apks = []
for apkfile in glob.glob(os.path.join(repodir, '*.apk')):
- apkfilename = apkfile[len(repodir):]
+ apkfilename = apkfile[len(repodir)
+ 1
:]
if apkfilename.find(' ') != -1:
print "No spaces in APK filenames!"
sys.exit(1)