From: Zooko O'Whielacronx Date: Tue, 23 Sep 2008 00:13:47 +0000 (-0700) Subject: setup: fix bug in recent patch to use allmydata.get_package_versions() to tell the... X-Git-Url: https://git.rkrishnan.org/FOOURL?a=commitdiff_plain;h=8874e27da075b6f6ccfeff154852e7d66b97082c;p=tahoe-lafs%2Ftahoe-lafs.git setup: fix bug in recent patch to use allmydata.get_package_versions() to tell the foolscap app-version-tracking what's what --- diff --git a/src/allmydata/node.py b/src/allmydata/node.py index b671cabd..c2aad6ed 100644 --- a/src/allmydata/node.py +++ b/src/allmydata/node.py @@ -16,7 +16,7 @@ from foolscap.logging import app_versions # Add our application versions to the data that Foolscap's LogPublisher # reports. -for thing, things_version in get_package_versions(): +for thing, things_version in get_package_versions().iteritems(): app_versions.add_version(thing, str(things_version)) # group 1 will be addr (dotted quad string), group 3 if any will be portnum (string)