summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-11-29 17:49:27 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-11-29 17:49:27 -0600
commitf4d52a1fd79084483cf4adf804aa7f595c8deb27 (patch)
tree25645f0a872c226b384658d3de7903a8b05a96a8
parent8348e9319b0258fb9239d040f4f123502375d377 (diff)
downloadapkkit-f4d52a1fd79084483cf4adf804aa7f595c8deb27.tar.gz
apkkit-f4d52a1fd79084483cf4adf804aa7f595c8deb27.tar.bz2
apkkit-f4d52a1fd79084483cf4adf804aa7f595c8deb27.tar.xz
apkkit-f4d52a1fd79084483cf4adf804aa7f595c8deb27.zip
Package: fix line parser
-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