258
258
if isinstance(str_or_obj, (basestring, filepath.FilePath)):
259
259
if isinstance(str_or_obj, basestring):
260
260
fp = filepath.FilePath(str_or_obj)
261
263
restore_backup(fp, fp.sibling(fp.basename() + "~"))
262
264
logger.info(open_project, path=fp.path)