summaryrefslogtreecommitdiff
path: root/barbicanclient/acls.py
diff options
context:
space:
mode:
Diffstat (limited to 'barbicanclient/acls.py')
-rw-r--r--barbicanclient/acls.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/barbicanclient/acls.py b/barbicanclient/acls.py
index cec8378..a7393e0 100644
--- a/barbicanclient/acls.py
+++ b/barbicanclient/acls.py
@@ -38,11 +38,13 @@ class ACLFormatter(formatter.EntityFormatter):
)
def _get_formatted_data(self):
+ created = self.created.isoformat() if self.created else None
+ updated = self.updated.isoformat() if self.updated else None
data = (self.operation_type,
self.project_access,
self.users,
- self.created,
- self.updated,
+ created,
+ updated,
self.acl_ref,
)
return data