Searched refs:template (Results 1 - 9 of 9) sorted by relevance

/pkg/src/modules/
H A Dcfgfiles.py120 def getvalue(self, template):
121 val = self.index.get(tuple(template[k] for k in self.keys), None)
134 def updatevalue(self, template):
136 in template"""
137 orig = self.index[tuple(template[k] for k in self.keys)].copy()
139 if name in template:
140 orig[name] = template[name]
143 def setvalue(self, template):
148 if field not in template:
153 template[fiel
[all...]
H A Dvariant.py109 """Class for holding a template of variant types and their potential
179 template provided.
181 The 'vct' parameter is the template from which to build the
185 the combinations created from the template will be considered
234 def template(self): member in class:VariantCombinations
331 # If one template isn't a subset of, or identical to,
391 """Store the provided VariantCombinationTemplate as the template
398 "template:{0}\nvct:{1}".format(
428 possible combinations of the template provided.
447 # possibilities a template ca
[all...]
/pkg/src/modules/actions/
H A Dgroup.py71 template = self.extract(["groupname", "gid"])
83 cur_attrs = gr.getvalue(template)
94 template = cur_attrs;
95 template["gid"] = self.attrs["gid"]
119 gr.setvalue(template)
/pkg/src/modules/server/
H A Dface.py70 template = tlookup.get_template(path)
74 return misc.force_bytes(template.render(g_vars={ "base": base,
83 "template: {0}\n".format(path), traceback=True)
135 # The user shouldn't see why we can't render a template, but
147 # template (in most cases, Mako doesn't seem to always clearly
/pkg/src/util/apache2/depot/
H A Ddepot_index.py407 template = tlookup.get_template("repos.shtml")
410 return misc.force_bytes(template.render(g_vars={"base": base,
/pkg/src/pkg/
H A DMakefile33 NIGHTLYID:sh = hg parents --template '{rev}'
/pkg/src/
H A Ddepot-config.py42 from mako.template import Template
H A Dsysrepo.py43 from mako.template import Template
483 # os.path.isfile(..) calls when processing the template.
632 # our template expects cache size expressed in Kb
/pkg/src/tests/cli/
H A Dt_pkgdep_resolve.py3003 template = """\
3014 m = template.format(pfmri)

Completed in 199 milliseconds