mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix version handling
This commit is contained in:
parent
3e20e11e39
commit
f071e7d4e1
@ -4,4 +4,4 @@
|
||||
# See the NOTICE for more information.
|
||||
|
||||
|
||||
__version__ = "0.4.1"
|
||||
__version__ = "0.4.2"
|
||||
|
||||
@ -12,7 +12,7 @@ import re
|
||||
import sys
|
||||
|
||||
from gunicorn.arbiter import Arbiter
|
||||
from gunicorn import util
|
||||
from gunicorn import util, __version__
|
||||
|
||||
__usage__ = "%prog [OPTIONS] [APP_MODULE]"
|
||||
|
||||
@ -85,7 +85,7 @@ def daemonize():
|
||||
|
||||
def main(usage, get_app):
|
||||
parser = op.OptionParser(usage=usage, option_list=options(),
|
||||
version="%prog 0.4.1")
|
||||
version="%prog " + __version__)
|
||||
opts, args = parser.parse_args()
|
||||
configure_logging(opts)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user