0003033: const dependence in gen/plug/docgen stylesheet

svn: r12608
This commit is contained in:
Brian Matherly
2009-06-02 11:50:17 +00:00
parent a0b1965c24
commit 4ca984bd2f
7 changed files with 18 additions and 34 deletions

View File

@@ -633,7 +633,8 @@ class OptionHandler(_Options.OptionHandler):
def get_stylesheet_savefile(self):
"""Where to save user defined styles for this report."""
return "%s.xml" % self.module_name
filename = "%s.xml" % self.module_name
return os.path.join(const.HOME_DIR, filename)
def get_default_stylesheet_name(self):
return self.style_name