mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 09:29:13 +00:00 
			
		
		
		
	Fix typos for local time conversion
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user