]> git-server-git.apps.pok.os.sepia.ceph.com Git - remoto.git/commitdiff
logging will now use the global timeout
authorAlfredo Deza <alfredo@deza.pe>
Thu, 10 Oct 2013 14:20:40 +0000 (10:20 -0400)
committerAlfredo Deza <alfredo@deza.pe>
Thu, 10 Oct 2013 14:20:40 +0000 (10:20 -0400)
remoto/log.py

index aba95382448198144242dc2102bbd688450bfed7..f86acb98d50d72b55a5b5833657fed5e18f05f16 100644 (file)
@@ -1,7 +1,7 @@
 
 
 def reporting(conn, result, timeout=None):
-    timeout = timeout or -1  # a.k.a. wait for ever
+    timeout = timeout or conn.global_timeout # -1 a.k.a. wait for ever
     log_map = {'debug': conn.logger.debug, 'error': conn.logger.error}
     while True:
         try: