HomePhabricator

demandimport: explicitly declare `_session` at the module level

Authored by marmoute.

Description

demandimport: explicitly declare _session at the module level

The _session module level variable is set within a function using the global
keyword. This confuses my test-check-pyflakes.t. Explicitly declaring the
variable at the top level solves the issue (and seems absolutely reasonable).

Details

Committed
marmouteThu, Aug 8, 5:06 AM
Parents
rHGbac24a8a095a: tests: give more room for slowness in test-run-tests.t
Branches
Unknown
Tags
Unknown