From c33eedb47b2b22c797051da197fd80e74f1db179 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 17 Jan 2012 12:34:19 -0500 Subject: [PATCH 2/4] Fix pylint conventions C0322 (operator not preceded by a space) From: Juerg Haefliger --- cloudinit/DataSourceOVF.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cloudinit/DataSourceOVF.py') diff --git a/cloudinit/DataSourceOVF.py b/cloudinit/DataSourceOVF.py index cdfa0c64..4da21df1 100644 --- a/cloudinit/DataSourceOVF.py +++ b/cloudinit/DataSourceOVF.py @@ -39,7 +39,7 @@ class DataSourceOVF(DataSource.DataSource): supported_seed_starts = ( "/" , "file://" ) def __str__(self): - mstr="DataSourceOVF" + mstr = "DataSourceOVF" mstr = mstr + " [seed=%s]" % self.seed return(mstr) @@ -175,7 +175,7 @@ def transport_iso9660(require_iso=False): mounted = { } for mpline in mounts: (dev,mp,fstype,_opts,_freq,_passno) = mpline.split() - mounted[dev]=(dev,fstype,mp,False) + mounted[dev] = (dev,fstype,mp,False) mp = mp.replace("\\040"," ") if fstype != "iso9660" and require_iso: continue -- cgit v1.2.3