mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 01:19:11 +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 | .. code:: bash | ||||||
|  |  | ||||||
|     apt install -y python python-pip python-dev cython \ |     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 \ |         python-pysqlite2 python-mysql.connector python-ldap \ | ||||||
|         build-essential libffi-dev libssl-dev libkrb5-dev \ |         build-essential libffi-dev libssl-dev libkrb5-dev \ | ||||||
|         ldap-utils krb5-user \ |         ldap-utils krb5-user \ | ||||||
|   | |||||||
| @@ -47,7 +47,7 @@ class StatusFileLeaseResource(object): | |||||||
|         status = parse_status(fh.read()) |         status = parse_status(fh.read()) | ||||||
|         for cn, e in status.routing_table.items(): |         for cn, e in status.routing_table.items(): | ||||||
|             yield { |             yield { | ||||||
|                 "acquired": status.client_list[cn].connected_since.replace(tzinfo=localtime) |                 "acquired": status.client_list[cn].connected_since.replace(tzinfo=localtime), | ||||||
|                 "released": None, |                 "released": None, | ||||||
|                 "address":  e.virtual_address, |                 "address":  e.virtual_address, | ||||||
|                 "identity": "CN=%s" % cn, # BUGBUG |                 "identity": "CN=%s" % cn, # BUGBUG | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user