Searched refs:template (Results 1 - 9 of 9) sorted by relevance
/pkg/src/modules/ |
H A D | cfgfiles.py | 120 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 D | variant.py | 109 """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 D | group.py | 71 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 D | face.py | 70 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 D | depot_index.py | 407 template = tlookup.get_template("repos.shtml") 410 return misc.force_bytes(template.render(g_vars={"base": base,
|
/pkg/src/pkg/ |
H A D | Makefile | 33 NIGHTLYID:sh = hg parents --template '{rev}'
|
/pkg/src/ |
H A D | depot-config.py | 42 from mako.template import Template
|
H A D | sysrepo.py | 43 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 D | t_pkgdep_resolve.py | 3003 template = """\ 3014 m = template.format(pfmri)
|
Completed in 199 milliseconds