chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4c6d9
)
btlog: fix bug with first run, the etag variable needs to exist
author
Hans-Christoph Steiner
<hans@eds.org>
Thu, 6 Apr 2017 21:36:31 +0000
(23:36 +0200)
committer
Hans-Christoph Steiner
<hans@eds.org>
Mon, 10 Apr 2017 18:30:13 +0000
(20:30 +0200)
fdroidserver/btlog.py
patch
|
blob
|
history
diff --git
a/fdroidserver/btlog.py
b/fdroidserver/btlog.py
index 94d4a2cbf8281fde2a65c9ba87ff4472fe6f70db..a5349c6797b0d76294614c84d6a5d22f1285ef3b 100755
(executable)
--- a/
fdroidserver/btlog.py
+++ b/
fdroidserver/btlog.py
@@
-199,6
+199,7
@@
def main():
headers = {
'User-Agent': 'F-Droid 0.102.3'
}
+ etag = None
if os.path.exists(http_headers_file):
with open(http_headers_file) as fp:
etag = json.load(fp)['ETag']