From 8b795f21caa5758138bb19a4f0412b80b6db9c99 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 12 Jan 2012 16:55:34 +0100 Subject: [PATCH 09/13] Fix pylint warnings W0107 (unnecessary pass statement) From: Juerg Haefliger --- cloudinit/__init__.py | 1 - 1 file changed, 1 deletion(-) (limited to 'cloudinit') diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index 537e3363..0e35ab6e 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -205,7 +205,6 @@ class CloudInit: except Exception as e: log.warn("get_data of %s raised %s" % (ds,e)) util.logexc(log) - pass msg = "Did not find data source. searched classes: %s" % dsnames log.debug(msg) raise DataSourceNotFoundException(msg) -- cgit v1.2.3