Show More
@@ -81,6 +81,10 b' except AttributeError:' | |||||
81 | def is_demandimport_enabled(): |
|
81 | def is_demandimport_enabled(): | |
82 | return __import__ == demandimport.demandimport |
|
82 | return __import__ == demandimport.demandimport | |
83 |
|
83 | |||
|
84 | # Shut up warning about uninitialized logging for new keyring versions | |||
|
85 | import logging | |||
|
86 | logging.getLogger("keyring").addHandler(logging.NullHandler()) | |||
|
87 | ||||
84 | # Temporarily disable demandimport to make the need of extending |
|
88 | # Temporarily disable demandimport to make the need of extending | |
85 | # the list above less likely. |
|
89 | # the list above less likely. | |
86 | if is_demandimport_enabled(): |
|
90 | if is_demandimport_enabled(): |
General Comments 0
You need to be logged in to leave comments.
Login now