diff options
| author | bwarsaw | 2006-09-25 07:53:58 +0000 |
|---|---|---|
| committer | bwarsaw | 2006-09-25 07:53:58 +0000 |
| commit | 7b0eb31f63e0a4a735e31f7662e4c23d1f12204a (patch) | |
| tree | 1b931af7a47086c621d5c62d0f982f2809589394 /Mailman/bin/version.py | |
| parent | 8157935353a960cd03a72e403e8638b016c8e9a1 (diff) | |
| download | mailman-7b0eb31f63e0a4a735e31f7662e4c23d1f12204a.tar.gz mailman-7b0eb31f63e0a4a735e31f7662e4c23d1f12204a.tar.zst mailman-7b0eb31f63e0a4a735e31f7662e4c23d1f12204a.zip | |
Diffstat (limited to 'Mailman/bin/version.py')
| -rw-r--r-- | Mailman/bin/version.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Mailman/bin/version.py b/Mailman/bin/version.py index dbf52c656..7b940a230 100644 --- a/Mailman/bin/version.py +++ b/Mailman/bin/version.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2006 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -17,7 +17,7 @@ import optparse -from Mailman import mm_cfg +from Mailman import Version from Mailman.i18n import _ __i18n_templates__ = True @@ -25,11 +25,11 @@ __i18n_templates__ = True def parseargs(): - parser = optparse.OptionParser(version=mm_cfg.MAILMAN_VERSION, + parser = optparse.OptionParser(version=Version.MAILMAN_VERSION, usage=_("""\ %prog -Print the Mailman version an exit.""")) +Print the Mailman version and exit.""")) opts, args = parser.parse_args() if args: parser.print_help() @@ -42,7 +42,7 @@ Print the Mailman version an exit.""")) def main(): parser, opts, args = parseargs() # Yes, this is kind of silly - print _('Using Mailman version: $mm_cfg.VERSION') + print _('Using Mailman version: $Version.MAILMAN_VERSION') |
