Changes to one file · Browse files at 99e8f060a949 Showing diff from parent cad2775ca76d 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...