cubicweb/server/session.py
changeset 12039 7514626e1dc5
parent 12033 1ce12b716e71
child 12043 b8d2e6b9f548
--- a/cubicweb/server/session.py	Fri Mar 10 17:46:06 2017 +0100
+++ b/cubicweb/server/session.py	Fri Mar 10 17:52:44 2017 +0100
@@ -291,12 +291,12 @@
     @_open_only
     def get_schema(self):
         """Return the schema currently used by the repository."""
-        return self.session.repo.source_defs()
+        return self.repo.source_defs()
 
     @_open_only
     def get_option_value(self, option):
         """Return the value for `option` in the configuration."""
-        return self.session.repo.get_option_value(option)
+        return self.repo.get_option_value(option)
 
     # transaction api