avocado/utils/filelock.py: use alternative way to get process pid in bytes
PEP461 is only available on Python 3.5. Our CI (Travis) is set to run on Python 3.4, and there's no reason not to be compatible with those older Python versions IMO. Let's then use a syntax that will produce the same content, but will work on all Python 3.x versions. Reference: https://docs.python.org/3.5/whatsnew/3.5.htmlSigned-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录