From f4d52a1fd79084483cf4adf804aa7f595c8deb27 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 29 Nov 2016 17:49:27 -0600 Subject: Package: fix line parser --- apkkit/base/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2