mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 12:43:39 +08:00
9 lines
174 B
Python
9 lines
174 B
Python
try:
|
|
from pylons.templating import render_mako # noqa
|
|
|
|
# Pylons > 0.9.7
|
|
legacy_pylons = False
|
|
except ImportError:
|
|
# Pylons <= 0.9.7
|
|
legacy_pylons = True
|