entities/sources.py
changeset 6957 ffda12be2e9f
parent 6945 28bf94d062a9
child 7827 9bbf83f68bcc
--- a/entities/sources.py	Wed Feb 09 18:06:13 2011 +0100
+++ b/entities/sources.py	Wed Feb 09 18:06:17 2011 +0100
@@ -129,8 +129,5 @@
         return self.cw_schema[0]
 
     @property
-    def source(self):
-        """repository only property, not available from the web side (eg
-        self._cw is expected to be a server session)
-        """
-        return self._cw.repo.sources_by_eid[self.cw_for_source[0].eid]
+    def cwsource(self):
+        return self.cw_for_source[0]