PATH: //proc/self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/cachecontrol
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📄 __init__.pyc
↓
X
📄 _cmd.py
↓
X
📄 _cmd.pyc
↓
X
📄 adapter.py
↓
X
📄 adapter.pyc
↓
X
📄 cache.py
↓
X
📄 cache.pyc
↓
X
📁 caches/
X
📄 compat.py
↓
X
📄 compat.pyc
↓
X
📄 controller.py
↓
X
📄 controller.pyc
↓
X
📄 filewrapper.py
↓
X
📄 filewrapper.pyc
↓
X
📄 heuristics.py
↓
X
📄 heuristics.pyc
↓
X
📄 serialize.py
↓
X
📄 serialize.pyc
↓
X
📄 wrapper.py
↓
X
📄 wrapper.pyc
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: wrapper.py
from .adapter import CacheControlAdapter from .cache import DictCache def CacheControl( sess, cache=None, cache_etags=True, serializer=None, heuristic=None, controller_class=None, adapter_class=None, cacheable_methods=None, ): cache = DictCache() if cache is None else cache adapter_class = adapter_class or CacheControlAdapter adapter = adapter_class( cache, cache_etags=cache_etags, serializer=serializer, heuristic=heuristic, controller_class=controller_class, cacheable_methods=cacheable_methods, ) sess.mount("http://", adapter) sess.mount("https://", adapter) return sess
SIMPAN PERUBAHAN