mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
Get rid of more unnecessary finds
This commit is contained in:
parent
efc8317272
commit
99b5d5e387
3 changed files with 9 additions and 7 deletions
|
@ -307,7 +307,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
|
|||
for apkfile in glob.glob(os.path.join(repodir, '*.apk')):
|
||||
|
||||
apkfilename = apkfile[len(repodir) + 1:]
|
||||
if apkfilename.find(' ') != -1:
|
||||
if ' ' in apkfilename:
|
||||
print "No spaces in APK filenames!"
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue