osa_toolkit/filesystem.py
def _get_backup_name(basename):
    """Return a name for a backup file based on the time

    :param basename: serves as prefix for the return value
    :return: a name for a backup file based on current time
    """

    utctime = datetime.datetime.utcnow()
    utctime = utctime.strftime("%Y%m%d_%H%M%S")
    return '{}-{}.json'.format(basename, utctime)
Return a name for a backup file based on the time

    :param basename: serves as prefix for the return value
    :return: a name for a backup file based on current time
    
Return a name for a backup file based on the time
Return a name for a backup file based on the time
def _get_backup_name(basename):
    utctime = datetime.datetime.utcnow()
    utctime = utctime.strftime("%Y%m%d_%H%M%S")
    return '{}-{}.json'.format(basename, utctime)
def _get_backup_name ( basename ) : utctime = datetime . datetime . utcnow ( ) utctime = utctime . strftime ( "%Y%m%d_%H%M%S" ) return '{}-{}.json' . format ( basename , utctime )
Return a name for a backup file based on the time
Return a name for a backup file based on the time
"""Return a name for a backup file based on the time

    :param basename: serves as prefix for the return value
    :return: a name for a backup file based on current time
    """
a name for a backup file based on current time
a name for a backup file based on current time
basename
serves as prefix for the return value
serves as prefix for the return value