python: PEP 8: adapt whitespaces in lines

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.
This commit is contained in:
Pino Toscano
2020-01-10 13:18:46 +01:00
parent df3e693b1b
commit 0703ec9c8c
2 changed files with 2 additions and 2 deletions

View File

@@ -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()

View File

@@ -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.