Add module name in order to register it in test_gnupg.py.

feature/documentation-builds-dirhtml
Isis Lovecruft 2013-04-02 12:49:25 +00:00
parent 4aded0141f
commit 4d28854feb
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 2 additions and 1 deletions

View File

@ -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())