Lines Matching refs:variables
42 def render_variables(variables): argument
43 variables = dict(variables)
44 del variables["FILE"]
45 variables = list(variables.iteritems())
46 variables.sort(lambda a, b: cmp(a[0], b[0]))
49 for key,val in variables])
52 def linkify_inherit(variables, text, func_name): argument
61 href = ("../" * variables["FILE"].count("/")) + href + ".html"
66 def render_original(variables, text): argument
67 text = linkify_inherit(variables, text, "inherit-product")
68 text = linkify_inherit(variables, text, "inherit-product-if-exists")
80 variables = parse_variables(lines)
83 variables = [break_lines(key,val) for key,val in variables]
86 variables = dict(variables)
96 variables[key] = sort_lines(variables[key])
99 original = read_file(variables["FILE"])
102 values = dict(variables)
104 "variables": render_variables(variables),
105 "original": render_original(variables, original),