mirror of
https://github.com/ejwa/gitinspector.git
synced 2025-03-22 00:08:16 +01:00
The default output functions now properly print the name of the class.
This commit is contained in:
parent
37c4260149
commit
53b0cfba37
1 changed files with 3 additions and 3 deletions
|
@ -22,13 +22,13 @@ import format
|
|||
|
||||
class Outputable(object):
|
||||
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):
|
||||
print("Text output not yet supported in " + self + ".")
|
||||
print("Text output not yet supported in \"" + self.__class__.__name__ + "\".")
|
||||
|
||||
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):
|
||||
if format.get_selected() == "html":
|
||||
|
|
Loading…
Add table
Reference in a new issue