Commit eaaaf1f0 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ebcfabab
# instance-enb implements eNB/gNB service.
{%- set Q = xbuildout.quote %}
{#- set Q = xbuildout.quote #}
{%- set Q = dumps %}
[buildout]
parts =
......
......@@ -26,7 +26,6 @@
{%- set testing = slapparameter_dict.get("testing", False) %}
{#- B(name) returns buildout-encoded form of name #}
{#- XXX Q #}
{%- set B = xbuildout.encode %}
{#- part emits new buildout section and registers it into buildout.parts #}
......
......@@ -128,6 +128,7 @@ def _decode(s):
return out
"""
# quote converts string s into quoted form with all buildout control characters escaped... XXX
# XXX -> pyquote?
def quote(s: str) -> str:
......@@ -138,6 +139,7 @@ def quote(s: str) -> str:
if r[1:-1] == s:
return s # original string
return '!py!' + r
"""
# ----------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment