1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 16:25:17 +00:00

Fix typos for local time conversion

This commit is contained in:
Lauri Võsandi 2017-01-30 06:27:12 +00:00
parent 4c1e72709c
commit c979d73bec
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ System dependencies for Ubuntu 16.04:
.. code:: bash
apt install -y python python-pip python-dev cython \
python-cffi python-configparser \
python-cffi python-configparser python-dateutil \
python-pysqlite2 python-mysql.connector python-ldap \
build-essential libffi-dev libssl-dev libkrb5-dev \
ldap-utils krb5-user \

View File

@ -47,7 +47,7 @@ class StatusFileLeaseResource(object):
status = parse_status(fh.read())
for cn, e in status.routing_table.items():
yield {
"acquired": status.client_list[cn].connected_since.replace(tzinfo=localtime)
"acquired": status.client_list[cn].connected_since.replace(tzinfo=localtime),
"released": None,
"address": e.virtual_address,
"identity": "CN=%s" % cn, # BUGBUG