summaryrefslogtreecommitdiff
path: root/kombu
diff options
context:
space:
mode:
authorMarti Raudsepp <marti@juffo.org>2022-10-12 14:25:10 +0300
committerAsif Saif Uddin <auvipy@gmail.com>2022-10-12 20:47:19 +0600
commitbfec7faf8d2c7956b35a56b5c93152e4511554d7 (patch)
tree82e8aa808acd8a2ac5c79f4bbfadf5ee19595466 /kombu
parent3a49533bc283eb03dae772ca79a6aa4f1c68f083 (diff)
downloadkombu-bfec7faf8d2c7956b35a56b5c93152e4511554d7.tar.gz
Fix errors from flake8 lint
Python's `del` is a statement, not a function, and doesn't need parenthesis.
Diffstat (limited to 'kombu')
-rw-r--r--kombu/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kombu/__init__.py b/kombu/__init__.py
index 7d922dcb..f1332472 100644
--- a/kombu/__init__.py
+++ b/kombu/__init__.py
@@ -26,8 +26,8 @@ _temp = cast(re.Match, re.match(
r'(\d+)\.(\d+).(\d+)(.+)?', __version__)).groups()
VERSION = version_info = version_info_t(
int(_temp[0]), int(_temp[1]), int(_temp[2]), _temp[3] or '', '')
-del(_temp)
-del(re)
+del _temp
+del re
STATICA_HACK = True
globals()['kcah_acitats'[::-1].upper()] = False