dbapi.py
changeset 6333 e3994fcc21c3
parent 6293 df44d7163582
parent 6312 b6c2b81e49ec
child 6494 70c87c717e4a
--- a/dbapi.py	Tue Sep 21 16:35:37 2010 +0200
+++ b/dbapi.py	Thu Sep 23 23:28:58 2010 +0200
@@ -645,9 +645,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
+        dereferenced and the option value retrieved from it.
+        """
+        return self._repo.get_option_value(option, foreid)
 
     @check_not_closed
     def describe(self, eid):