Show More
@@ -730,6 +730,9 b" coreconfigitem('web', 'errorlog'," | |||
|
730 | 730 | coreconfigitem('web', 'ipv6', |
|
731 | 731 | default=False, |
|
732 | 732 | ) |
|
733 | coreconfigitem('web', 'motd', | |
|
734 | default='', | |
|
735 | ) | |
|
733 | 736 | coreconfigitem('web', 'name', |
|
734 | 737 | default=dynamicdefault, |
|
735 | 738 | ) |
@@ -177,7 +177,7 b' class requestcontext(object):' | |||
|
177 | 177 | # some functions for the templater |
|
178 | 178 | |
|
179 | 179 | def motd(**map): |
|
180 |
yield self.config('web', 'motd' |
|
|
180 | yield self.config('web', 'motd') | |
|
181 | 181 | |
|
182 | 182 | # figure out which style to use |
|
183 | 183 |
@@ -491,7 +491,7 b' class hgwebdir(object):' | |||
|
491 | 491 | if self.motd is not None: |
|
492 | 492 | yield self.motd |
|
493 | 493 | else: |
|
494 |
yield config('web', 'motd' |
|
|
494 | yield config('web', 'motd') | |
|
495 | 495 | |
|
496 | 496 | def config(section, name, default=uimod._unset, untrusted=True): |
|
497 | 497 | return self.ui.config(section, name, default, untrusted) |
General Comments 0
You need to be logged in to leave comments.
Login now