From 7119e29cb535426c587eaf2cfc2cfcd11a422df0 Mon Sep 17 00:00:00 2001 From: Dina Belova Date: Mon, 3 Jun 2013 17:44:55 +0400 Subject: Enable hacking H404 test. H404 - multi line docstring should start with a summary. Change-Id: I2099e1ee81ff9657f7a07401b8e8f3327d03bdbd --- openstack/common/importutils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openstack/common/importutils.py') diff --git a/openstack/common/importutils.py b/openstack/common/importutils.py index dbee325..7a303f9 100644 --- a/openstack/common/importutils.py +++ b/openstack/common/importutils.py @@ -41,8 +41,9 @@ def import_object(import_str, *args, **kwargs): def import_object_ns(name_space, import_str, *args, **kwargs): - """ - Import a class and return an instance of it, first by trying + """Tries to import object from default namespace. + + Imports a class and return an instance of it, first by trying to find the class in a default namespace, then failing back to a full path if not found in the default namespace. """ -- cgit