From abfd82d89653482e21e1139fb8ce8bf89c2b4d2c Mon Sep 17 00:00:00 2001 From: "jaypipes@gmail.com" <> Date: Tue, 10 Aug 2010 09:54:13 -0400 Subject: pylint fixes for nova/virt/connection.py --- nova/virt/connection.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nova/virt/connection.py b/nova/virt/connection.py index 004adb19d..bb54f5db7 100644 --- a/nova/virt/connection.py +++ b/nova/virt/connection.py @@ -17,6 +17,11 @@ # License for the specific language governing permissions and limitations # under the License. +"""Abstraction of the underlying virtualization API""" + +import logging +import sys + from nova import flags from nova.virt import fake from nova.virt import libvirt_conn @@ -27,6 +32,11 @@ FLAGS = flags.FLAGS def get_connection(read_only=False): + """Returns a connection to the underlying virtualization API + + The read_only parameter is passed through to the underlying API's + get_connection() method if applicable + """ # TODO(termie): maybe lazy load after initial check for permissions # TODO(termie): check whether we can be disconnected t = FLAGS.connection_type -- cgit