Commit eaaaf1f0 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ebcfabab
# instance-enb implements eNB/gNB service. # instance-enb implements eNB/gNB service.
{%- set Q = xbuildout.quote %}
{#- set Q = xbuildout.quote #}
{%- set Q = dumps %}
[buildout] [buildout]
parts = parts =
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
{%- set testing = slapparameter_dict.get("testing", False) %} {%- set testing = slapparameter_dict.get("testing", False) %}
{#- B(name) returns buildout-encoded form of name #} {#- B(name) returns buildout-encoded form of name #}
{#- XXX Q #}
{%- set B = xbuildout.encode %} {%- set B = xbuildout.encode %}
{#- part emits new buildout section and registers it into buildout.parts #} {#- part emits new buildout section and registers it into buildout.parts #}
......
...@@ -128,6 +128,7 @@ def _decode(s): ...@@ -128,6 +128,7 @@ def _decode(s):
return out return out
"""
# quote converts string s into quoted form with all buildout control characters escaped... XXX # quote converts string s into quoted form with all buildout control characters escaped... XXX
# XXX -> pyquote? # XXX -> pyquote?
def quote(s: str) -> str: def quote(s: str) -> str:
...@@ -138,6 +139,7 @@ def quote(s: str) -> str: ...@@ -138,6 +139,7 @@ def quote(s: str) -> str:
if r[1:-1] == s: if r[1:-1] == s:
return s # original string return s # original string
return '!py!' + r 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