Skip to content
Snippets Groups Projects
Select Git revision
  • master protected
  • test default protected
  • original
  • pirati-backup protected
  • beta-2
  • beta-1
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.16
  • v3.0.15
  • v3.0.14
  • v3.0.13
  • v3.0.12
  • v3.0.11
  • v3.0.10
  • v3.0.9
  • v3.0.8
  • v3.0.7
  • v3.0.6
  • v3.0.5
  • v3.0.4
24 results

helios-server

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Christian Boltz authored
    ... which is what unicodecsv.reader expects.
    
    This reverts 35b5cdab which causes the
    tests to error out with
    
    ```
    ======================================================================
    ERROR: test_add_voters_file (helios.tests.ElectionModelTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/helios-server/helios/tests.py", line 80, in test_add_voters_file
        vf.process()
      File "/tmp/helios-server/helios/models.py", line 806, in process
        voters = list(self.itervoters())
      File "/tmp/helios-server/helios/models.py", line 767, in itervoters
        for voter_fields in reader:
      File "/usr/lib/python3.6/site-packages/unicodecsv/py3.py", line 55, in __next__
        return self.reader.__next__()
      File "/usr/lib/python3.6/site-packages/unicodecsv/py3.py", line 51, in <genexpr>
        f = (bs.decode(encoding, errors=errors) for bs in f)
    AttributeError: 'str' object has no attribute 'decode'
    ```
    d37ee8c2
    History
    Name Last commit Last update