diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-06-30 17:22:18 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-06-30 17:22:18 -0400 |
| commit | 613a1b7d9868c658b8269dcc0db66f43c05311be (patch) | |
| tree | 8155522800d1cbd320325abcbafb4cd9a02eec3b /tests/test_transcript.py | |
| parent | 959aeed2438f00720845383daba2a1f30097a8dc (diff) | |
| download | cmd2-git-613a1b7d9868c658b8269dcc0db66f43c05311be.tar.gz | |
Fixed a sys.platform check
So it turns out that on Linux, it sys.platform is "linux2" in Python 2 and "linux" in Python 3, so if doing a comparsion, need to do a .startswith() instead of a ==
Diffstat (limited to 'tests/test_transcript.py')
0 files changed, 0 insertions, 0 deletions
