merge with crew-stable
authorThomas Arendsen Hein <thomas@intevation.de>
Sun, 22 Nov 2009 11:27:29 +0100
changeset 9904 ac73cd788853
parent 9902 bf9d117d0010 (current diff)
parent 9903 5d748045c2ae (diff)
child 9905 95517eb3c9a7
merge with crew-stable
--- a/mercurial/hgweb/hgwebdir_mod.py	Sun Nov 22 11:19:07 2009 +0100
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sun Nov 22 11:27:29 2009 +0100
@@ -48,6 +48,7 @@
         self.conf = conf
         self.baseui = baseui
         self.lastrefresh = 0
+        self.motd = None
         self.refresh()
 
     def refresh(self):
@@ -72,7 +73,6 @@
 
         encoding.encoding = self.ui.config('web', 'encoding',
                                            encoding.encoding)
-        self.motd = self.ui.config('web', 'motd')
         self.style = self.ui.config('web', 'style', 'paper')
         self.stripecount = self.ui.config('web', 'stripes', 1)
         if self.stripecount: