summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehdi Abaakouk <sileht@sileht.net>2017-06-20 15:43:40 +0200
committerMehdi Abaakouk <sileht@sileht.net>2017-06-20 15:43:40 +0200
commitd43badb6c1a9cf776a0899cae964966f6ccd07de (patch)
tree42083723c570f2306f58ec4878bafbdfb64300a1
parent3c059cb701e55c7c550f2bbe9626c9c063b0d77e (diff)
downloadpbr-d43badb6c1a9cf776a0899cae964966f6ccd07de.tar.gz
Restore previous IP binding3.1.1
This commit 6fdf4e1086c53adf47561697cf82417e1f3b14ed have changed the default binded ip, it binds one random interface on the system instead of all. Break breaks all gate that expect the default to at least listen on localhost. This change restore the previous default. Change-Id: I6323e66ea98d15c52b07c8e737fdd6f30aef0238
-rw-r--r--pbr/packaging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py
index 913e7a3..c8eedbd 100644
--- a/pbr/packaging.py
+++ b/pbr/packaging.py
@@ -293,7 +293,7 @@ if __name__ == "__main__":
usage='%%(prog)s [-h] [--port PORT] [--host IP] -- [passed options]')
parser.add_argument('--port', '-p', type=int, default=8000,
help='TCP port to listen on')
- parser.add_argument('--host', '-b', default=my_ip,
+ parser.add_argument('--host', '-b', default='',
help='IP to bind the server to')
parser.add_argument('args',
nargs=argparse.REMAINDER,