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

Side by Side Diff: appengine/components/components/gitiles.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, 7 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
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 """Gitiles functions for GAE environment.""" 5 """Gitiles functions for GAE environment."""
6 6
7 import base64 7 import base64
8 import collections 8 import collections
9 import datetime 9 import datetime
10 import posixpath 10 import posixpath
11 import re 11 import re
12 import urllib 12 import urllib
13 import urlparse 13 import urlparse
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 _validate_treeish(treeish) 436 _validate_treeish(treeish)
437 if path_required: 437 if path_required:
438 assert path is not None 438 assert path is not None
439 if path is not None: 439 if path is not None:
440 assert_non_empty_string(path) 440 assert_non_empty_string(path)
441 assert path.startswith(path), path 441 assert path.startswith(path), path
442 442
443 443
444 def _quote_all(*args): 444 def _quote_all(*args):
445 return tuple(map(urllib.quote, args)) 445 return tuple(map(urllib.quote, args))
OLDNEW
« no previous file with comments | « appengine/components/components/gerrit_test.py ('k') | appengine/components/components/gitiles_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698