Skip to content
Snippets Groups Projects
Commit a3b200af authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

explain what we're working around a little bit more

parent d82223b3
No related branches found
No related tags found
2 merge requests!264Server-side metric for spent ZKAPs for Prometheus,!265Add a metric for invalid ZKAP attempts
......@@ -65,7 +65,11 @@ try:
except ImportError:
pass
# Hack around a bug in prometheus_client
# The last Python 2-supporting prometheus_client nevertheless tries to use
# FileNotFoundError, an exception type from Python 3. Since that release,
# prometheus_client has dropped Python 2 support entirely so there is little
# hope of ever having this fixed upstream. When ZKAPAuthorizer is ported to
# Python 3, this should no longer be necessary.
def _prometheus_client_fix():
import prometheus_client.exposition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment