[PATCH sandbox-image 3/9] pylint: Use consistent indentation of 4 spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pylint warning W0311 - Bad indentation

http://pylint-messages.wikidot.com/messages:w0311

Signed-off-by: Radostin Stoyanov <rstoyanov1@xxxxxxxxx>
---
 libvirt_sandbox_image/sources/docker.py | 4 ++--
 scripts/virt-sandbox-image              | 2 +-
 setup.py                                | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libvirt_sandbox_image/sources/docker.py b/libvirt_sandbox_image/sources/docker.py
index cf90112..94eb6d1 100755
--- a/libvirt_sandbox_image/sources/docker.py
+++ b/libvirt_sandbox_image/sources/docker.py
@@ -47,9 +47,9 @@ class DockerConfParser():
     def getEnvs(self):
         lst = self.json_data['config']['Env']
         if lst is not None and isinstance(lst,list):
-          return lst
+            return lst
         else:
-          return []
+            return []
 
 class DockerImage():
 
diff --git a/scripts/virt-sandbox-image b/scripts/virt-sandbox-image
index 9d0ff82..c021850 100755
--- a/scripts/virt-sandbox-image
+++ b/scripts/virt-sandbox-image
@@ -6,4 +6,4 @@ import sys
 from libvirt_sandbox_image import cli
 
 if __name__ == '__main__':
-   sys.exit(cli.main())
+    sys.exit(cli.main())
diff --git a/setup.py b/setup.py
index 85f5d45..dd22fd5 100644
--- a/setup.py
+++ b/setup.py
@@ -97,7 +97,7 @@ setup(
     ],
     install_requires=[],
     cmdclass = {
-          'build': my_build,
+        'build': my_build,
     },
     classifiers = [
         "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux