Commit aac7e364 by Ned Batchelder

Make the repr right.

parent 69f8bf7a
...@@ -323,7 +323,7 @@ class XMLModuleStore(ModuleStoreBase): ...@@ -323,7 +323,7 @@ class XMLModuleStore(ModuleStoreBase):
''' '''
String representation - for debugging String representation - for debugging
''' '''
return '<XMLModuleStore>data_dir=%s, %d courses, %d modules' % ( return '<XMLModuleStore data_dir=%r, %d courses, %d modules>' % (
self.data_dir, len(self.courses), len(self.modules)) self.data_dir, len(self.courses), len(self.modules))
def load_policy(self, policy_path, tracker): def load_policy(self, policy_path, tracker):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment