setup: fix bug in recent patch to use allmydata.get_package_versions() to tell the foolscap app-version-tracking what's what

This commit is contained in:
Zooko O'Whielacronx 2008-09-22 17:13:47 -07:00
parent 992339b97e
commit 8874e27da0

View File

@ -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)