[Libguestfs] [PATCH 6/8] python: PEP 8: miscellaneous indentation fixes

Pino Toscano ptoscano at redhat.com
Wed May 4 14:23:16 UTC 2016


Small fixes for few remaining indentation issues.

No behaviour changes.
---
 python/setup.py.in             | 3 +--
 python/t/test420LogMessages.py | 2 +-
 python/t/test820RHBZ912499.py  | 3 ++-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/python/setup.py.in b/python/setup.py.in
index 403c4b5..65939b0 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -58,5 +58,4 @@ This package contains the Python bindings for libguestfs.
               libraries=['guestfs'],
               define_macros=[('GUESTFS_PRIVATE', '1')],
           )
-      ]
-)
+      ])
diff --git a/python/t/test420LogMessages.py b/python/t/test420LogMessages.py
index ad98ea0..bec3b9f 100644
--- a/python/t/test420LogMessages.py
+++ b/python/t/test420LogMessages.py
@@ -40,7 +40,7 @@ class Test420LogMessages(unittest.TestCase):
 
         # Register an event callback for all log messages.
         events = guestfs.EVENT_APPLIANCE | guestfs.EVENT_LIBRARY \
-                 | guestfs.EVENT_WARNING | guestfs.EVENT_TRACE
+            | guestfs.EVENT_WARNING | guestfs.EVENT_TRACE
         g.set_event_callback(log_callback, events)
 
         # Now make sure we see some messages.
diff --git a/python/t/test820RHBZ912499.py b/python/t/test820RHBZ912499.py
index 800b7dd..60509dc 100644
--- a/python/t/test820RHBZ912499.py
+++ b/python/t/test820RHBZ912499.py
@@ -29,7 +29,8 @@ import guestfs
 from .tests_helper import *
 
 
- at skipUnlessArchMatches("(i.86|x86_64)")    # If the architecture doesn't support IDE, skip the test.
+# If the architecture doesn't support IDE, skip the test.
+ at skipUnlessArchMatches("(i.86|x86_64)")
 @skipUnlessGuestfsBackendIs('libvirt')
 @skipUnlessLibvirtHasCPointer()
 class Test820RHBZ912499(unittest.TestCase):
-- 
2.5.5




More information about the Libguestfs mailing list