[issue18419] For reasons I can't explain Python in some cases says that getstatusoutput is not an attribute of the commands module but it is and should be
Georgiy Treyvus
report at bugs.python.org
Wed Jul 10 03:23:25 CEST 2013
Georgiy Treyvus added the comment:
I realized my mistake too late. It should have been
if sys.version_info[0]==2:
On the other hand
if sys.version_info==2:
while syntactically correct wasn't semantically correct.
My apologies for wasting your time and for my stupidity.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18419>
_______________________________________
More information about the Python-bugs-list
mailing list