summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apkkit/base/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apkkit/base/package.py b/apkkit/base/package.py
index 0822c36..a8e1192 100644
--- a/apkkit/base/package.py
+++ b/apkkit/base/package.py
@@ -198,7 +198,7 @@ class Package:
if len(line) == 0 or line[0] == '#':
continue
- if line.index('=') == -1:
+ if line.find('=') == -1:
PACKAGE_LOGGER.warning('!!! malformed line? "%s" !!!', line)
continue