[Zope3-checkins] CVS: Zope3/src/zope/app/event - subs.py:1.18
Steve Alexander
steve@cat-box.net
Tue, 01 Jul 2003 00:02:17 +0300
Actually, according to its Interface, resubscribeByHubId() is supposed
to return the number of subscriptions converted. I think the
num_converted local was there for clarity, so it was obvious what was
being returned. (Except that the return statement had gone missing.)
A comment would serve as well, of course.
Looks like there's no test for this :-(
I'd check in a fix, but Jim's closed the tree.
Still, I bet no-one is using it just now.
I'll fix this up later in the week.
--
Steve Alexander