mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Replace finds with pythonic terms
This commit is contained in:
parent
8f3a2d4355
commit
efc8317272
3 changed files with 8 additions and 10 deletions
|
@ -1361,7 +1361,7 @@ def isApkDebuggable(apkfile, config):
|
|||
print "ERROR: Failed to get apk manifest information"
|
||||
sys.exit(1)
|
||||
for line in output.splitlines():
|
||||
if line.find('android:debuggable') != -1 and not line.endswith('0x0'):
|
||||
if 'android:debuggable' in line and not line.endswith('0x0'):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue