projects
/
tools
/
testlab
/
major.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e82b10b
)
Use HEAD request instead of GET for timestamps
52/108752/3
author
Aleksander Mistewicz
<a.mistewicz@samsung.com>
Mon, 19 Dec 2016 09:03:59 +0000
(10:03 +0100)
committer
Aleksander Mistewicz
<a.mistewicz@samsung.com>
Wed, 1 Feb 2017 16:36:51 +0000
(17:36 +0100)
Change-Id: I7112b0eebab7c1cb98819beaca5e562e0ed0079d
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
tsp/scripts/crawler.py
patch
|
blob
|
history
diff --git
a/tsp/scripts/crawler.py
b/tsp/scripts/crawler.py
index
cfb1997
..
ddb49e5
100755
(executable)
--- 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