From 4d28854feb96bb59a661ff2f81a3b5d925072450 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Tue, 2 Apr 2013 12:49:25 +0000 Subject: [PATCH] Add module name in order to register it in test_gnupg.py. --- gnupg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnupg.py b/gnupg.py index 6ce8581..8132a18 100644 --- a/gnupg.py +++ b/gnupg.py @@ -53,6 +53,7 @@ Vinay Sajip's documentation: Modifications Copyright (C) 2008-2012 Vinay Sajip. All rights reserved. """ +__module__ = 'gnupg' __version__ = "0.3.1" __author__ = "Isis Agora Lovecruft" __date__ = "12 Febuary 2013" @@ -92,7 +93,7 @@ except NameError: ESCAPE_PATTERN = re.compile(r'\\x([0-9a-f][0-9a-f])', re.I) -logger = logging.getLogger(__name__) +logger = logging.getLogger(__module__) if not logger.handlers: logger.addHandler(NullHandler())