Show More
@@ -522,9 +522,9 b' def system(cmd, environ={}, cwd=None, on' | |||
|
522 | 522 | exception.''' |
|
523 | 523 | def py2shell(val): |
|
524 | 524 | 'convert python object into string that is useful to shell' |
|
525 |
if val i |
|
|
525 | if val is None or val is False: | |
|
526 | 526 | return '0' |
|
527 |
if val |
|
|
527 | if val is True: | |
|
528 | 528 | return '1' |
|
529 | 529 | return str(val) |
|
530 | 530 | oldenv = {} |
General Comments 0
You need to be logged in to leave comments.
Login now