Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master-1, master-0, and 0.9.4

fix http test on osx

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

Changeset 99e8f060a949

Parent cad2775ca76d

committed by Jelmer Vernooij

authored by Yifan Zhang

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