mercurial/hgweb/server.py
changeset 34242 e2d633f8ee65
parent 34240 c97a750c28a5
child 34243 d24816dfdcff
--- a/mercurial/hgweb/server.py	Fri Jun 30 03:45:47 2017 +0200
+++ b/mercurial/hgweb/server.py	Fri Jun 30 03:45:48 2017 +0200
@@ -327,7 +327,7 @@
         sys.setdefaultencoding(oldenc)
 
     address = ui.config('web', 'address')
-    port = util.getport(ui.config('web', 'port', 8000))
+    port = util.getport(ui.config('web', 'port'))
     try:
         return cls(ui, app, (address, port), handler)
     except socket.error as inst: