All pastes #823542 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-12-19 13:27 UTC
rendered paste body
=== modified file 'src/ztm/topicmaps/topic.py'
--- src/ztm/topicmaps/topic.py  2007-12-05 14:26:43 +0000
+++ src/ztm/topicmaps/topic.py  2007-12-19 13:26:59 +0000
@@ -327,7 +327,7 @@
                 types = set(self.types)
                 types.remove(topic)
                 self.types = frozenset(types)
-                topic = ProxyFactory()
+                topic = ProxyFactory(topic)
                 topic.removeInstance(self)
             elif __debug__:
                 raise AssertionError("Attempt to remove missing type.")