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:
parent
4c1e72709c
commit
c979d73bec
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user