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

Side by Side Diff: appengine/components/components/config/fs.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 2015 The LUCI Authors. All rights reserved. 1 # Copyright 2015 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 """fs.Provider reads configs from the filesystem.""" 5 """fs.Provider reads configs from the filesystem."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 9
10 from google.appengine.ext import ndb 10 from google.appengine.ext import ndb
11 11
12 from components.config import common 12 from components.config import common
13 13
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 """Returns URL of where configs for given config set are stored. 118 """Returns URL of where configs for given config set are stored.
119 119
120 Returns: 120 Returns:
121 Always None for file system. 121 Always None for file system.
122 """ 122 """
123 raise ndb.Return(None) 123 raise ndb.Return(None)
124 124
125 125
126 def get_provider(): # pragma: no cover 126 def get_provider(): # pragma: no cover
127 return Provider(common.CONSTANTS.CONFIG_DIR) 127 return Provider(common.CONSTANTS.CONFIG_DIR)
OLDNEW
« no previous file with comments | « appengine/components/components/config/endpoint_test.py ('k') | appengine/components/components/config/fs_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698