search for: code_template_filenam

Displaying 1 result from an estimated 1 matches for "code_template_filenam".

Did you mean: code_template_filename
2013 Jan 06
1
[PATCH] menugen: Make it compatible with Py3k
...class Menusystem: missing = None for x in self.reqd_templates: - if not self.templates.has_key(x): missing = x + if x not in self.templates: missing = x if missing: - print "Template %s required but not defined in %s" % (missing,self.code_template_filename) + print("Template %s required but not defined in %s" % (missing,self.code_template_filename)) if filename == "-": fd = sys.stdout @@ -227,8 +227,8 @@ class Menusystem: fd.write(self.templates["footer"]) fd.close()...