afew: add python 3.8 compability patch

This commit is contained in:
Đoàn Trần Công Danh 2019-12-28 11:04:29 +07:00 committed by Juan RP
parent c05b7b8115
commit cc48cd207d
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,8 @@
--- afew/filters/__init__.py
+++ afew/filters/__init__.py
@@ -6,4 +6,4 @@
__all__ = list(filename[:-3]
for filename in glob.glob1(os.path.dirname(__file__), '*.py')
- if filename is not '__init__.py')
+ if filename != '__init__.py')

View File

@ -1,7 +1,7 @@
# Template file for 'afew'
pkgname=afew
version=2.0.0
revision=3
revision=4
archs=noarch
build_style=python3-module
pycompile_module="afew"