libguestfs.tests.guestfs_operated_disk: Fix illegal py 2.4 construct

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
tests.multi_queues_test: Fix py 2.4 incompatible construct

Rather than using '0b1', a representation not valid in
python 2.4, use 1, which should go for the same effect.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.tests.pktgen: Fix py 2.4 incompatible construct

For now, try/except/finally blocks shouldn't be used.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.tests.baloon_check: Fix test exit condition

Here, the author called out to exit(), which is not
the intended effect. The actual exit condition is
`return`.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1246 from autotest/pylint-fixes

Pylint fixes