Package: python-prctl Version: 1.1.1-1 Severity: minor Tags: patch
prctl exports a variable named "x":
$ pydoc prctl | grep -w x
x = 'CAP_PERMITTED'
--
Jakub Wilk
diff --git a/prctl.py b/prctl.py
--- a/prctl.py
+++ b/prctl.py
@@ -46,6 +46,7 @@
ALL_CAP_NAMES = [x[4:].lower() for x in _ALL_CAP_NAMES]
ALL_CAPS = tuple([getattr(_prctl,x) for x in _ALL_CAP_NAMES])
ALL_FLAGS = tuple([getattr(_prctl,x) for x in _ALL_FLAG_NAMES])
+del x
class Capbset(object):
__slots__ = ALL_CAP_NAMES
signature.asc
Description: Digital signature

