disable lint for method because of py3 compat