server/msplanner.py
branchstable
changeset 2108 b3f6fa7ad59f
parent 2075 933ccfce6e91
child 2109 f469368df530
--- a/server/msplanner.py	Mon Jun 15 12:42:48 2009 +0200
+++ b/server/msplanner.py	Mon Jun 15 18:26:31 2009 +0200
@@ -352,6 +352,8 @@
             if source is self.system_source:
                 for const in vconsts:
                     self._set_source_for_term(source, const)
+            elif not self._sourcesterms:
+                self._set_source_for_term(source, const)
             elif source in self._sourcesterms:
                 source_scopes = frozenset(t.scope for t in self._sourcesterms[source])
                 for const in vconsts: