Update handler.py
Browse files- handler.py +3 -3
handler.py
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
import pkg_resources
|
| 2 |
-
|
| 3 |
|
| 4 |
class EndpointHandler:
|
| 5 |
def __init__(self, path=""):
|
| 6 |
dists = [str(d).replace(" ","==") for d in pkg_resources.working_set]
|
| 7 |
for i in dists:
|
| 8 |
-
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
|
| 13 |
def __call__(self):
|
|
|
|
| 1 |
import pkg_resources
|
| 2 |
+
import logging
|
| 3 |
|
| 4 |
class EndpointHandler:
|
| 5 |
def __init__(self, path=""):
|
| 6 |
dists = [str(d).replace(" ","==") for d in pkg_resources.working_set]
|
| 7 |
for i in dists:
|
| 8 |
+
logging.warning(i)
|
| 9 |
|
| 10 |
+
logging.warning('Done printing!!')
|
| 11 |
|
| 12 |
|
| 13 |
def __call__(self):
|