From fe3bb6352f3fde0fc5a457919e2b6a532fff46b9 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 09 2017 18:46:16 +0000 Subject: Fix typo in the help string and remove un-needed import --- diff --git a/rundocserver.py b/rundocserver.py index d3df30b..ac34310 100755 --- a/rundocserver.py +++ b/rundocserver.py @@ -29,7 +29,7 @@ parser.add_argument( '--host', default="127.0.0.1", help='Hostname to listen on. When set to 0.0.0.0 the server is ' 'available externally. Defaults to 127.0.0.1 making the it only ' - 'visable on localhost') + 'visible on localhost') args = parser.parse_args() @@ -40,7 +40,6 @@ if args.config: config = os.path.join(here, config) os.environ['PAGURE_CONFIG'] = config -from pagure import APP from pagure.docs_server import APP if args.profile: diff --git a/runserver.py b/runserver.py index 2ee7a0a..44682ba 100755 --- a/runserver.py +++ b/runserver.py @@ -27,7 +27,8 @@ parser.add_argument( help='Port for the Pagure to run on.') parser.add_argument( '--host', default="127.0.0.1", - help='Hostname to listen on. When set to 0.0.0.0 the server is available externally. Defaults to 127.0.0.1 making the it only visable on localhost') + help='Hostname to listen on. When set to 0.0.0.0 the server is available ' + 'externally. Defaults to 127.0.0.1 making the it only visible on localhost') args = parser.parse_args()