Don't use _ for variable name

_ is reserved for gettext use and using _ for variable names can result
in runtime failures when trying to lookup string translations

Change-Id: I8835142fd19ba5f395ddef959c38167f4144b813
This commit is contained in:
Johannes Erdfelt
2012-03-07 04:25:19 +00:00
parent 090843df20
commit 6f50d772c1

View File

@@ -147,7 +147,7 @@ class LockTestCase(test.TestCase):
self.assertEquals(e.errno, errno.EPIPE)
return
rfds, _, __ = select.select([rpipe], [], [], 1)
rfds, _wfds, _efds = select.select([rpipe], [], [], 1)
self.assertEquals(len(rfds), 0, "The other process, which was"
" supposed to be locked, "
"wrote on its end of the "