diff options
Diffstat (limited to 'keystone/common/utils.py')
-rw-r--r-- | keystone/common/utils.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/keystone/common/utils.py b/keystone/common/utils.py index 7f665a59..19749764 100644 --- a/keystone/common/utils.py +++ b/keystone/common/utils.py @@ -39,7 +39,6 @@ config.register_int('crypt_strength', default=40000) LOG = logging.getLogger(__name__) -ISO_TIME_FORMAT = '%Y-%m-%dT%H:%M:%SZ' MAX_PASSWORD_LENGTH = 4096 @@ -232,16 +231,6 @@ def git(*args): return check_output(['git'] + list(args)) -def isotime(dt_obj): - """Format datetime object as ISO compliant string. - - :param dt_obj: datetime.datetime object - :returns: string representation of datetime object - - """ - return dt_obj.strftime(ISO_TIME_FORMAT) - - def unixtime(dt_obj): """Format datetime object as unix timestamp |