def _migrate_old_path():
    old_path = os.path.expanduser(os.path.join("~", ".gitup"))
    if not os.path.exists(old_path):
        return

    temp_path = _get_old_path()
    temp_dir = os.path.dirname(temp_path)
    if not os.path.exists(temp_dir):
        os.makedirs(temp_dir)
    os.rename(old_path, temp_path)
See :meth:`I18n.format_time`.
dataset/ETHPy150Open earwig/git-repo-updater/gitup/migrate.py/_migrate_old_path--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.3/webapp2_extras/i18n.py/format_time