[web] safety belt to avoid overriding pageid with loadxhtml()
HtmlHeaders.define_var() now accepts a third optional 'override' paramater.
If set to False, the variable won't be evaluated if it's already defined
in the page.
@echo off
rem = """-*-Python-*- script
rem -------------------- DOS section --------------------
rem You could set PYTHONPATH or TK environment variables here
python -x "%~f0" %*
goto exit
"""
# -------------------- Python section --------------------
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])
DosExitLabel = """
:exit
rem """