[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] More consistent naming (dl is the deferred list l is the list)
commit ed4e733d207c3ad9929b657bc0cf388d49471eec
Author: Arturo Filastò <art@xxxxxxxxx>
Date: Mon Jan 21 00:49:33 2013 +0100
More consistent naming (dl is the deferred list l is the list)
---
nettests/blocking/http_requests.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/nettests/blocking/http_requests.py b/nettests/blocking/http_requests.py
index 34f5d04..aedb1b8 100644
--- a/nettests/blocking/http_requests.py
+++ b/nettests/blocking/http_requests.py
@@ -117,7 +117,7 @@ class HTTPRequestsTest(httpt.HTTPTest):
"""
self.experiment_headers = headers_dict
- dl = []
+ l = []
log.msg("Performing GET request to %s" % self.url)
experiment_request = self.doRequest(self.url, method="GET",
body_processor=experiment_body,
@@ -128,8 +128,8 @@ class HTTPRequestsTest(httpt.HTTPTest):
use_tor=True, body_processor=control_body,
headers_processor=control_headers)
- dl.append(experiment_request)
- dl.append(control_request)
- d = defer.DeferredList(dl)
- return d
+ l.append(experiment_request)
+ l.append(control_request)
+ dl = defer.DeferredList(l)
+ return dl
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits