Message192785
That's because subprocess.getstatusoutput exists only in Python 3, and not Python 2.7. The "if sys.version_info==2:" is also wrong, so subprocess is always selected, resulting in an error when the program is run with Python 2. |
|
Date |
User |
Action |
Args |
2013-07-09 23:31:10 | ezio.melotti | set | recipients:
+ ezio.melotti, wfatp |
2013-07-09 23:31:10 | ezio.melotti | set | messageid: <1373412670.41.0.477601549756.issue18419@psf.upfronthosting.co.za> |
2013-07-09 23:31:10 | ezio.melotti | link | issue18419 messages |
2013-07-09 23:31:10 | ezio.melotti | create | |
|