Codebase list lazr.restfulclient / upstream/0.9.12
Imported Upstream version 0.9.12 SVN-Git Migration 8 years ago
6 changed file(s) with 28 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
00 Metadata-Version: 1.0
11 Name: lazr.restfulclient
2 Version: 0.9.11
2 Version: 0.9.12
33 Summary: This is a template for your lazr package. To start your own lazr package,
44 Home-page: https://launchpad.net/lazr.restfulclient
55 Author: LAZR Developers
5454 ===========================
5555 NEWS for lazr.restfulclient
5656 ===========================
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.
5763
5864 0.9.11 (2010-02-11)
5965 ===================
00 ===========================
11 NEWS for lazr.restfulclient
22 ===========================
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.
39
410 0.9.11 (2010-02-11)
511 ===================
227227 if cache is None:
228228 cache = tempfile.mkdtemp()
229229 atexit.register(shutil.rmtree, cache)
230 if isinstance(cache, str):
230 if isinstance(cache, basestring):
231231 cache = MultipleRepresentationCache(cache)
232232 self._connection = service_root.httpFactory(
233233 credentials, cache, timeout, proxy_info)
9191 you'll be able to use cached versions of the initial (very expensive)
9292 documents.
9393
94 >>> second_service = CookbookWebServiceClient(cache=tempdir)
94 >>> second_service = CookbookWebServiceClient(cache=unicode(tempdir))
9595 send: 'GET /1.0/ ...
9696 reply: ...304...
9797 ...
218218
219219 >>> file1 == file2
220220 False
221
222 Cleanup.
223
224 >>> import shutil
225 >>> shutil.rmtree(tempdir)
00 Metadata-Version: 1.0
11 Name: lazr.restfulclient
2 Version: 0.9.11
2 Version: 0.9.12
33 Summary: This is a template for your lazr package. To start your own lazr package,
44 Home-page: https://launchpad.net/lazr.restfulclient
55 Author: LAZR Developers
5454 ===========================
5555 NEWS for lazr.restfulclient
5656 ===========================
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.
5763
5864 0.9.11 (2010-02-11)
5965 ===================