Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master

fix http test on osx

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

Changeset 99274d9ddb15

Parent c51c99834cc1

committed by Jelmer Vernooij

authored by Yifan Zhang

Changes to one file · Browse files at 99274d9ddb15 Showing diff from parent c51c99834cc1 Diff from another changeset...

 
32
33
34
 
35
36
37
 
425
426
427
 
428
429
430
 
32
33
34
35
36
37
38
 
426
427
428
429
430
431
432
@@ -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)