Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
idna / lib / python2.7 / site-packages / oslo_policy / _cache_handler.pyc
Size: Mime:
ó
ōEYc@s@ddlZddlZejeƒZed„Zd„ZdS(iÿÿÿÿNcCsµ|rt||ƒnt}tjj|ƒ}|j|iƒ}|s_||jddƒkr§tjd|ƒt	|ƒ}|j
ƒ|d<WdQX||d<t}n||dfS(sRead from a file if it has been modified.

    :param cache: dictionary to hold opaque cache.
    :param filename: the file path to read.
    :param force_reload: Whether to reload the file.
    :returns: A tuple with a boolean specifying if the data is fresh
              or not.
    tmtimeisReloading cached file %stdataN(tdelete_cached_filetFalsetostpathtgetmtimet
setdefaulttgettLOGtdebugtopentreadtTrue(tcachetfilenametforce_reloadtreloadedRt
cache_infotfap((sO/home/tvault/.virtenv/lib/python2.7/site-packages/oslo_policy/_cache_handler.pytread_cached_files

	cCs#y||=Wntk
rnXdS(sDelete cached file if present.

    :param cache: dictionary to hold opaque cache.
    :param filename: filename to delete
    N(tKeyError(RR((sO/home/tvault/.virtenv/lib/python2.7/site-packages/oslo_policy/_cache_handler.pyR0s
(tloggingRt	getLoggert__name__R	RRR(((sO/home/tvault/.virtenv/lib/python2.7/site-packages/oslo_policy/_cache_handler.pyt<module>s