comparison mercurial/hgweb/hgweb_mod.py @ 16683:525fdb738975

cleanup: eradicate long lines
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 15:54:54 +0200
parents f6a737357195
children d94c470c3deb
comparison
equal deleted inserted replaced
16676:654b9e1966f7 16683:525fdb738975
71 self.mtime = st.st_mtime 71 self.mtime = st.st_mtime
72 self.size = st.st_size 72 self.size = st.st_size
73 self.repo = hg.repository(self.repo.ui, self.repo.root) 73 self.repo = hg.repository(self.repo.ui, self.repo.root)
74 self.maxchanges = int(self.config("web", "maxchanges", 10)) 74 self.maxchanges = int(self.config("web", "maxchanges", 10))
75 self.stripecount = int(self.config("web", "stripes", 1)) 75 self.stripecount = int(self.config("web", "stripes", 1))
76 self.maxshortchanges = int(self.config("web", "maxshortchanges", 60)) 76 self.maxshortchanges = int(self.config("web", "maxshortchanges",
77 60))
77 self.maxfiles = int(self.config("web", "maxfiles", 10)) 78 self.maxfiles = int(self.config("web", "maxfiles", 10))
78 self.allowpull = self.configbool("web", "allowpull", True) 79 self.allowpull = self.configbool("web", "allowpull", True)
79 encoding.encoding = self.config("web", "encoding", 80 encoding.encoding = self.config("web", "encoding",
80 encoding.encoding) 81 encoding.encoding)
81 82