Imported Upstream version 0.9.12
SVN-Git Migration
8 years ago
0 | 0 |
Metadata-Version: 1.0
|
1 | 1 |
Name: lazr.restfulclient
|
2 | |
Version: 0.9.11
|
|
2 |
Version: 0.9.12
|
3 | 3 |
Summary: This is a template for your lazr package. To start your own lazr package,
|
4 | 4 |
Home-page: https://launchpad.net/lazr.restfulclient
|
5 | 5 |
Author: LAZR Developers
|
|
54 | 54 |
===========================
|
55 | 55 |
NEWS for lazr.restfulclient
|
56 | 56 |
===========================
|
|
57 |
|
|
58 |
0.9.12 (2010-03-09)
|
|
59 |
===================
|
|
60 |
|
|
61 |
- Fixed a bug that prevented a unicode string from being used as a
|
|
62 |
cache filename.
|
57 | 63 |
|
58 | 64 |
0.9.11 (2010-02-11)
|
59 | 65 |
===================
|
0 | 0 |
===========================
|
1 | 1 |
NEWS for lazr.restfulclient
|
2 | 2 |
===========================
|
|
3 |
|
|
4 |
0.9.12 (2010-03-09)
|
|
5 |
===================
|
|
6 |
|
|
7 |
- Fixed a bug that prevented a unicode string from being used as a
|
|
8 |
cache filename.
|
3 | 9 |
|
4 | 10 |
0.9.11 (2010-02-11)
|
5 | 11 |
===================
|
227 | 227 |
if cache is None:
|
228 | 228 |
cache = tempfile.mkdtemp()
|
229 | 229 |
atexit.register(shutil.rmtree, cache)
|
230 | |
if isinstance(cache, str):
|
|
230 |
if isinstance(cache, basestring):
|
231 | 231 |
cache = MultipleRepresentationCache(cache)
|
232 | 232 |
self._connection = service_root.httpFactory(
|
233 | 233 |
credentials, cache, timeout, proxy_info)
|
91 | 91 |
you'll be able to use cached versions of the initial (very expensive)
|
92 | 92 |
documents.
|
93 | 93 |
|
94 | |
>>> second_service = CookbookWebServiceClient(cache=tempdir)
|
|
94 |
>>> second_service = CookbookWebServiceClient(cache=unicode(tempdir))
|
95 | 95 |
send: 'GET /1.0/ ...
|
96 | 96 |
reply: ...304...
|
97 | 97 |
...
|
|
218 | 218 |
|
219 | 219 |
>>> file1 == file2
|
220 | 220 |
False
|
|
221 |
|
|
222 |
Cleanup.
|
|
223 |
|
|
224 |
>>> import shutil
|
|
225 |
>>> shutil.rmtree(tempdir)
|
0 | 0 |
Metadata-Version: 1.0
|
1 | 1 |
Name: lazr.restfulclient
|
2 | |
Version: 0.9.11
|
|
2 |
Version: 0.9.12
|
3 | 3 |
Summary: This is a template for your lazr package. To start your own lazr package,
|
4 | 4 |
Home-page: https://launchpad.net/lazr.restfulclient
|
5 | 5 |
Author: LAZR Developers
|
|
54 | 54 |
===========================
|
55 | 55 |
NEWS for lazr.restfulclient
|
56 | 56 |
===========================
|
|
57 |
|
|
58 |
0.9.12 (2010-03-09)
|
|
59 |
===================
|
|
60 |
|
|
61 |
- Fixed a bug that prevented a unicode string from being used as a
|
|
62 |
cache filename.
|
57 | 63 |
|
58 | 64 |
0.9.11 (2010-02-11)
|
59 | 65 |
===================
|