changeset 1275:a1a84dd489ff

Fix cut and paste error in hgweb.py
author Florian La Roche <laroche@redhat.com>
date Sun, 18 Sep 2005 14:07:02 -0700
parents fe3dd937e803
children 25e5b1086624
files mercurial/hgweb.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Sun Sep 18 14:06:36 2005 -0700
+++ b/mercurial/hgweb.py	Sun Sep 18 14:07:02 2005 -0700
@@ -184,8 +184,8 @@
         if s.st_mtime != self.mtime:
             self.mtime = s.st_mtime
             self.repo = hg.repository(self.repo.ui, self.repo.root)
-            self.maxchanges = self.repo.ui.config("web", "maxchanges", 10)
-            self.maxfiles = self.repo.ui.config("web", "maxchanges", 10)
+            self.maxchanges = int(self.repo.ui.config("web", "maxchanges", 10))
+            self.maxfiles = int(self.repo.ui.config("web", "maxfiles", 10))
             self.allowpull = self.repo.ui.configbool("web", "allowpull", True)
 
     def date(self, cs):