1
0
Fork 0
mirror of https://github.com/ejwa/gitinspector.git synced 2025-03-23 00:37:58 +01:00

The default output functions now properly print the name of the class.

This commit is contained in:
Adam Waldenberg 2013-03-11 09:06:05 +01:00
parent 37c4260149
commit 53b0cfba37

View file

@ -22,13 +22,13 @@ import format
class Outputable(object): class Outputable(object):
def output_html(self): def output_html(self):
print("HTML output not yet supported in " + self + ".") print("HTML output not yet supported in \"" + self.__class__.__name__ + "\".")
def output_text(self): def output_text(self):
print("Text output not yet supported in " + self + ".") print("Text output not yet supported in \"" + self.__class__.__name__ + "\".")
def output_xml(self): def output_xml(self):
print("XML output not yet supported in " + self + ".") print("XML output not yet supported in \"" + self.__class__.__name__ + "\".")
def output(outputable): def output(outputable):
if format.get_selected() == "html": if format.get_selected() == "html":