election/openstack_election
Tony Breeds c217a1db8b Make get_email() work with python3
If you try to build the docs with python3 you'll see something ending
with:
    ValueError: Couldn't find gerrit account with 'b'dmccowan@cisco.com''

This is because the default encoding from subprocess.Popen() under
python3 is bytes() which then fails to work with the gerrit API.

Check we have a text_type and decode() if needed.

Change-Id: Iccbc891a33d15ef82ddbc913549e64547a967195
2017-07-14 12:05:21 +10:00
..
cmds Merge "Rewrite generate-rolls in python" 2017-04-06 04:08:02 +00:00
tests Add name2dir test 2017-04-07 08:49:59 +00:00
__init__.py Make openstack_election look more like a python module 2016-09-12 15:35:40 +10:00
check_candidacy.py Refactor all parameters to configuration.yaml 2016-11-09 03:24:26 +00:00
config.py Rewrite the event logic in javascript 2017-01-30 01:48:11 +00:00
utils.py Make get_email() work with python3 2017-07-14 12:05:21 +10:00