KVM test: No need close session when login timeout II

Changed the statement 'if session is not None' for
the equivalent in this context 'if session'. Made
the similar change for safety in timedrift_with_reboot,
as it was done with timedrift_with_migration.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4056 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed