dbapi.py
branchstable
changeset 6308 c151c730a1ac
parent 6257 7eb5f1aed728
child 6312 b6c2b81e49ec
--- a/dbapi.py	Wed Sep 22 18:18:29 2010 +0200
+++ b/dbapi.py	Wed Sep 22 18:23:35 2010 +0200
@@ -639,9 +639,12 @@
         return self._repo.get_schema()
 
     @check_not_closed
-    def get_option_value(self, option):
-        """return the value for `option` in the repository configuration."""
-        return self._repo.get_option_value(option)
+    def get_option_value(self, option, foreid=None):
+        """Return the value for `option` in the configuration. If `foreid` is
+        specified, the actual repository to which this entity belongs is
+        derefenced and the option value retrieved from it.
+        """
+        return self._repo.get_option_value(option, foreid)
 
     @check_not_closed
     def describe(self, eid):