| 1 | Thu Jul 22 04:52:14 GMT Daylight Time 2010 david-sarah@jacaranda.org |
|---|
| 2 | * web.directory: omit the 'size' field for a mutable file in the JSON rendering of a directory if it is not known. |
|---|
| 3 | |
|---|
| 4 | New patches: |
|---|
| 5 | |
|---|
| 6 | [web.directory: omit the 'size' field for a mutable file in the JSON rendering of a directory if it is not known. |
|---|
| 7 | david-sarah@jacaranda.org**20100722035214 |
|---|
| 8 | Ignore-this: c1efb5e552e03647f82f520708f6522e |
|---|
| 9 | ] hunk ./src/allmydata/web/directory.py 823 |
|---|
| 10 | kiddata = ("filenode", {'size': childnode.get_size(), |
|---|
| 11 | 'mutable': childnode.is_mutable(), |
|---|
| 12 | }) |
|---|
| 13 | + if kiddata[1]['size'] is None: |
|---|
| 14 | + del kiddata[1]['size'] |
|---|
| 15 | elif IDirectoryNode.providedBy(childnode): |
|---|
| 16 | kiddata = ("dirnode", {'mutable': childnode.is_mutable()}) |
|---|
| 17 | else: |
|---|
| 18 | |
|---|
| 19 | Context: |
|---|
| 20 | |
|---|
| 21 | [__init__.py: silence DeprecationWarning about BaseException.message globally. fixes #1129 |
|---|
| 22 | david-sarah@jacaranda.org**20100720011939 |
|---|
| 23 | Ignore-this: 38808986ba79cb2786b010504a22f89 |
|---|
| 24 | ] |
|---|
| 25 | [test_runner: test that 'tahoe --version' outputs no noise (e.g. DeprecationWarnings). |
|---|
| 26 | david-sarah@jacaranda.org**20100720011345 |
|---|
| 27 | Ignore-this: dd358b7b2e5d57282cbe133e8069702e |
|---|
| 28 | ] |
|---|
| 29 | [TAG allmydata-tahoe-1.7.1 |
|---|
| 30 | zooko@zooko.com**20100719131352 |
|---|
| 31 | Ignore-this: 6942056548433dc653a746703819ad8c |
|---|
| 32 | ] |
|---|
| 33 | Patch bundle hash: |
|---|
| 34 | 31c93ff9b9ff735b7db4d36cab47ea4d8422147f |
|---|