Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: appengine/isolate/handlers_endpoints_v1.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/isolate/handlers_backend.py ('k') | appengine/isolate/handlers_endpoints_v1_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The LUCI Authors. All rights reserved. 1 # Copyright 2014 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """This module defines Isolate Server frontend url handlers.""" 5 """This module defines Isolate Server frontend url handlers."""
6 6
7 import binascii 7 import binascii
8 import datetime 8 import datetime
9 import hashlib 9 import hashlib
10 import logging 10 import logging
11 import os 11 import os
12 import re 12 import re
13 import time 13 import time
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 Returns: 529 Returns:
530 the enqueued task if there were existing entries; None otherwise 530 the enqueued task if there were existing entries; None otherwise
531 """ 531 """
532 if collection.items: 532 if collection.items:
533 url = '/internal/taskqueue/tag/%s/%s' % ( 533 url = '/internal/taskqueue/tag/%s/%s' % (
534 collection.namespace.namespace, 534 collection.namespace.namespace,
535 utils.datetime_to_timestamp(utils.utcnow())) 535 utils.datetime_to_timestamp(utils.utcnow()))
536 payload = ''.join( 536 payload = ''.join(
537 binascii.unhexlify(digest.digest) for digest in collection.items) 537 binascii.unhexlify(digest.digest) for digest in collection.items)
538 return utils.enqueue_task(url, 'tag', payload=payload) 538 return utils.enqueue_task(url, 'tag', payload=payload)
OLDNEW
« no previous file with comments | « appengine/isolate/handlers_backend.py ('k') | appengine/isolate/handlers_endpoints_v1_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698