[Libguestfs] [PATCH v2 2/8] python: PEP 8: adapt whitespaces in lines

Pino Toscano ptoscano at redhat.com
Fri Jan 10 16:26:54 UTC 2020


Fix continuation indentation, and whitespaces around operators.

This is just code reformatting, with no behaviour changes; no content
changed beside whitespaces, so "git diff -w" gives an empty diff.
---
 python/t/test030CreateFlags.py | 2 +-
 python/t/test820RHBZ912499.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/t/test030CreateFlags.py b/python/t/test030CreateFlags.py
index ab522fab4..bdfffa44e 100644
--- a/python/t/test030CreateFlags.py
+++ b/python/t/test030CreateFlags.py
@@ -22,5 +22,5 @@ import guestfs
 class Test030CreateFlags(unittest.TestCase):
     def test_create_flags(self):
         g = guestfs.GuestFS(python_return_dict=True,
-                environment=False)
+                            environment=False)
         g.parse_environment()
diff --git a/python/t/test820RHBZ912499.py b/python/t/test820RHBZ912499.py
index f008f0c74..557d750d2 100644
--- a/python/t/test820RHBZ912499.py
+++ b/python/t/test820RHBZ912499.py
@@ -38,7 +38,7 @@ class Test820RHBZ912499(unittest.TestCase):
     def setUp(self):
         # Create a test disk.
         self.filename = os.getcwd() + "/820-rhbz912499.img"
-        guestfs.GuestFS().disk_create(self.filename, "raw", 1024*1024*1024)
+        guestfs.GuestFS().disk_create(self.filename, "raw", 1024 * 1024 * 1024)
 
         # Create a new domain.  This won't work, it will just hang when
         # booted.  But that's sufficient for the test.
-- 
2.24.1




More information about the Libguestfs mailing list