diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2016-11-29 17:49:27 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2016-11-29 17:49:27 -0600 |
commit | f4d52a1fd79084483cf4adf804aa7f595c8deb27 (patch) | |
tree | 25645f0a872c226b384658d3de7903a8b05a96a8 | |
parent | 8348e9319b0258fb9239d040f4f123502375d377 (diff) | |
download | apkkit-f4d52a1fd79084483cf4adf804aa7f595c8deb27.tar.gz apkkit-f4d52a1fd79084483cf4adf804aa7f595c8deb27.tar.bz2 apkkit-f4d52a1fd79084483cf4adf804aa7f595c8deb27.tar.xz apkkit-f4d52a1fd79084483cf4adf804aa7f595c8deb27.zip |
Package: fix line parser
-rw-r--r-- | apkkit/base/package.py | 2 |
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 |