summaryrefslogtreecommitdiff
path: root/tsp
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2016-12-19 09:03:59 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-02-01 16:36:51 (GMT)
commit04d44ae911de885129fdb2da28e65e3872678e79 (patch)
tree8747570f8db94e22cec955c506c19bff5265d08b /tsp
parente82b10b90b535b8d1036499511b10b4fd55ce858 (diff)
downloadmajor-04d44ae911de885129fdb2da28e65e3872678e79.zip
major-04d44ae911de885129fdb2da28e65e3872678e79.tar.gz
major-04d44ae911de885129fdb2da28e65e3872678e79.tar.bz2
Use HEAD request instead of GET for timestampsrefs/changes/52/108752/3
Change-Id: I7112b0eebab7c1cb98819beaca5e562e0ed0079d Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Diffstat (limited to 'tsp')
-rwxr-xr-xtsp/scripts/crawler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsp/scripts/crawler.py b/tsp/scripts/crawler.py
index cfb1997..ddb49e5 100755
--- a/tsp/scripts/crawler.py
+++ b/tsp/scripts/crawler.py
@@ -96,7 +96,7 @@ def get_modified_paths(discovered, timestamp, tree):
md5sums_urls = [url + e for e in tree_urls]
change = False
for md5sums_url in md5sums_urls:
- r = s.get(md5sums_url)
+ r = s.head(md5sums_url)
if r.status_code == requests.codes.ok:
logging.debug("MD5SUMS changed: %s", md5sums_url)
change = True