diff options
Diffstat (limited to 'aurweb/git/serve.py')
-rwxr-xr-x | aurweb/git/serve.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/aurweb/git/serve.py b/aurweb/git/serve.py index 476aea8..3949dbf 100755 --- a/aurweb/git/serve.py +++ b/aurweb/git/serve.py @@ -10,6 +10,8 @@ import time import aurweb.config import aurweb.db +aur_shortname = aurweb.config.get('options', 'aur_shortname'); + notify_cmd = aurweb.config.get('notifications', 'notify-cmd') repo_path = aurweb.config.get('serve', 'repo-path') @@ -345,7 +347,7 @@ def main(): if enable_maintenance: if remote_addr not in maintenance_exc: - die("The AUR is down due to maintenance. We will be back soon.") + die("The %s is down due to maintenance. We will be back soon." % (aur_shortname)) if action == 'git' and cmdargv[1] in ('upload-pack', 'receive-pack'): action = action + '-' + cmdargv[1] |