diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-08-30 15:30:16 -0700 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2011-08-30 15:30:16 -0700 |
| commit | 5ccbce699880557f9c58d4d403487979d3604ccf (patch) | |
| tree | d5f3a5addeb59373b44a7a25cf61f526e3008376 /nova | |
| parent | 4ec4ddd2e6465f0483ecf50d430458169ad4c348 (diff) | |
pep8 fix
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/rpc/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/rpc/__init__.py b/nova/rpc/__init__.py index 32509fff6..e29cd80e1 100644 --- a/nova/rpc/__init__.py +++ b/nova/rpc/__init__.py @@ -28,7 +28,9 @@ flags.DEFINE_string('rpc_backend', _RPCIMPL = None + def get_impl(): + """Delay import of rpc_backend until FLAGS are loaded.""" global _RPCIMPL if _RPCIMPL is None: _RPCIMPL = import_object(FLAGS.rpc_backend) |
