From 48f58cc4de056c8e496575e30b5a440bdc6549c1 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 23 Aug 2004 12:27:47 +0000 Subject: [PATCH] Elucidating comment. --- src/registry.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/registry.py b/src/registry.py index 50831668f..77e81335c 100644 --- a/src/registry.py +++ b/src/registry.py @@ -205,7 +205,11 @@ class Group(object): raise InvalidRegistryName, name if node is None: node = Group() - if name not in self._children: # XXX Is this right? + # We tried in any number of horrible ways to make it so that + # re-registering something would work. It doesn't, plain and simple. + # For the longest time, we had an "Is this right?" comment here, but + # from experience, we now know that it most definitely *is* right. + if name not in self._children: self._children[name] = node self._added.append(name) names = split(self._name)