Fix circular import
Closes-Bug: #2000386 Change-Id: I41f2cd5e5bcfa3192a761d4fb72663ff4b27b78e
This commit is contained in:
parent
1fa73c5556
commit
f4e8f995b5
|
@ -18,7 +18,6 @@ from oslo_utils import timeutils
|
||||||
|
|
||||||
from zun.common import exception
|
from zun.common import exception
|
||||||
from zun.common import policy
|
from zun.common import policy
|
||||||
from zun.common import utils
|
|
||||||
|
|
||||||
|
|
||||||
class RequestContext(context.RequestContext):
|
class RequestContext(context.RequestContext):
|
||||||
|
@ -93,7 +92,8 @@ class RequestContext(context.RequestContext):
|
||||||
'auth_token_info': self.auth_token_info,
|
'auth_token_info': self.auth_token_info,
|
||||||
'password': self.password,
|
'password': self.password,
|
||||||
'all_projects': self.all_projects,
|
'all_projects': self.all_projects,
|
||||||
'timestamp': utils.strtime(self.timestamp) if
|
'timestamp': self.timestamp.strftime(
|
||||||
|
"%Y-%m-%dT%H:%M:%S.%f") if
|
||||||
hasattr(self, 'timestamp') else None
|
hasattr(self, 'timestamp') else None
|
||||||
})
|
})
|
||||||
return value
|
return value
|
||||||
|
|
Loading…
Reference in New Issue