diff options
Diffstat (limited to 'venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/distlib/__init__.py')
-rw-r--r-- | venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/distlib/__init__.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/distlib/__init__.py b/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/distlib/__init__.py deleted file mode 100644 index 9430718..0000000 --- a/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/distlib/__init__.py +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | # -*- coding: utf-8 -*- | ||
2 | # | ||
3 | # Copyright (C) 2012-2017 Vinay Sajip. | ||
4 | # Licensed to the Python Software Foundation under a contributor agreement. | ||
5 | # See LICENSE.txt and CONTRIBUTORS.txt. | ||
6 | # | ||
7 | import logging | ||
8 | |||
9 | __version__ = '0.2.7' | ||
10 | |||
11 | class DistlibException(Exception): | ||
12 | pass | ||
13 | |||
14 | try: | ||
15 | from logging import NullHandler | ||
16 | except ImportError: # pragma: no cover | ||
17 | class NullHandler(logging.Handler): | ||
18 | def handle(self, record): pass | ||
19 | def emit(self, record): pass | ||
20 | def createLock(self): self.lock = None | ||
21 | |||
22 | logger = logging.getLogger(__name__) | ||
23 | logger.addHandler(NullHandler()) | ||