hgext/notify.py
changeset 8142 912bfef12ba6
parent 8029 e0c434abd530
child 8154 06f1e4e309ed
--- a/hgext/notify.py	Thu Apr 23 15:40:10 2009 -0500
+++ b/hgext/notify.py	Thu Apr 23 15:40:10 2009 -0500
@@ -99,7 +99,7 @@
         self.ui = ui
         cfg = self.ui.config('notify', 'config')
         if cfg:
-            self.ui.readsections(cfg, 'usersubs', 'reposubs')
+            self.ui.readconfig(cfg, sections=['usersubs', 'reposubs'])
         self.repo = repo
         self.stripcount = int(self.ui.config('notify', 'strip', 0))
         self.root = self.strip(self.repo.root)