1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# Looks up all python files in this folder at runtime, and sets them to 6# be loaded by the `import *` below. 7import glob 8import os 9__all__ = [os.path.basename(f)[:-3] for f in 10 glob.glob(os.path.dirname(__file__)+"/*.py")] 11 12# Import all the files in this folder so that _registry gets filled in and 13# force the import order to make sure registry, which is imported by all, is 14# imported first. 15import common 16import registry 17from . import * 18