Thu Jul 22 04:52:14 GMT Daylight Time 2010 david-sarah@jacaranda.org * web.directory: omit the 'size' field for a mutable file in the JSON rendering of a directory if it is not known. New patches: [web.directory: omit the 'size' field for a mutable file in the JSON rendering of a directory if it is not known. david-sarah@jacaranda.org**20100722035214 Ignore-this: c1efb5e552e03647f82f520708f6522e ] hunk ./src/allmydata/web/directory.py 823 kiddata = ("filenode", {'size': childnode.get_size(), 'mutable': childnode.is_mutable(), }) + if kiddata[1]['size'] is None: + del kiddata[1]['size'] elif IDirectoryNode.providedBy(childnode): kiddata = ("dirnode", {'mutable': childnode.is_mutable()}) else: Context: [__init__.py: silence DeprecationWarning about BaseException.message globally. fixes #1129 david-sarah@jacaranda.org**20100720011939 Ignore-this: 38808986ba79cb2786b010504a22f89 ] [test_runner: test that 'tahoe --version' outputs no noise (e.g. DeprecationWarnings). david-sarah@jacaranda.org**20100720011345 Ignore-this: dd358b7b2e5d57282cbe133e8069702e ] [TAG allmydata-tahoe-1.7.1 zooko@zooko.com**20100719131352 Ignore-this: 6942056548433dc653a746703819ad8c ] Patch bundle hash: 31c93ff9b9ff735b7db4d36cab47ea4d8422147f