Example #1
0
  def __init__(self, e, maxWidth=79, style="full", outputFile=None, test=False):
    ReportPlugin.__init__(self, e, outputFile, test)

    assert(style in ["full", "table", "round"])
    self.maxWidth = maxWidth
    self.style = style
    self.maxColWidth = 0
    self.prtf = None
Example #2
0
    def __init__(self, e, outputFile=None, test=False):
        ReportPlugin.__init__(self, e, outputFile, test)

        if self.e.methodName == "Condorcet":
            raise RuntimeError(
                "YAML report not available for Condorcet elections.")
 def __init__(self, e):
     self.json = {}
     ReportPlugin.__init__(self, e, None, False)
Example #4
0
 def __init__(self, e, outputFile=None, test=False):
   ReportPlugin.__init__(self, e, outputFile, test)
   if self.e.methodName == "Condorcet":
     raise RuntimeError("HTML report not available for Condorcet elections.")
Example #5
0
 def __init__(self, e):
     ReportPlugin.__init__(self, e, None, False)
Example #6
0
 def __init__(self, e, outputFile=None, test=False):
   ReportPlugin.__init__(self, e, outputFile, test)
Example #7
0
 def __init__(self, e):
     self.json = {}
     ReportPlugin.__init__(self, e, None, False)
Example #8
0
 def __init__(self, e, outputFile=None, test=False):
     ReportPlugin.__init__(self, e, outputFile, test)