summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-08-18 08:41:44 +0200
committerMichał Górny <mgorny@gentoo.org>2020-08-18 08:57:09 +0200
commited49466aa29794e1910a8c00f3a1cc6027724122 (patch)
tree759cb0ffe909c9e2d3e05d7b53dc360c6ee22a24
parent20350ab1c1f7536ffed08ba2d96020e54a3e4ef9 (diff)
downloadgemato-ed49466aa29794e1910a8c00f3a1cc6027724122.tar.gz
openpgp: Pass debug flag when cloning env
Closes: https://github.com/mgorny/gemato/issues/10 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--gemato/openpgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gemato/openpgp.py b/gemato/openpgp.py
index 56c543d..48b7396 100644
--- a/gemato/openpgp.py
+++ b/gemato/openpgp.py
@@ -221,7 +221,7 @@ debug-level guru
self.close()
def clone(self):
- return OpenPGPEnvironment()
+ return OpenPGPEnvironment(debug=self.debug)
@staticmethod
def _rmtree_error_handler(func, path, exc_info):