Changes to one file · Browse files at 99274d9ddb15 Showing diff from parent c51c99834cc1 Diff from another changeset...
@@ -32,6 +32,7 @@ import tempfile
import threading
import urllib
+from socket import gethostname
from dulwich import (
client,
@@ -425,6 +426,7 @@ def __init__(self, server_address, root_path):
BaseHTTPServer.HTTPServer.__init__(self, server_address, GitHTTPRequestHandler)
self.root_path = root_path
+ self.server_name = "localhost"
def get_url(self):
return 'http://%s:%s/' % (self.server_name, self.server_port)
|
Loading...