Message224477
Should it be function? Why not use just a variable initialized at import time? The path to the default shell shouldn't change during the time of program execution.
if sys.platform == 'win32':
default_shell = 'cmd.exe'
else:
default_shell = '/bin/sh' |
|
| Date |
User |
Action |
Args |
| 2014-08-01 09:31:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gregory.p.smith, pitrou, christian.heimes, ezio.melotti, eric.araujo, r.david.murray, asvetlov, chris.jerdonek, neologix, lyapun |
| 2014-08-01 09:31:16 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2014-08-01 09:31:16 | serhiy.storchaka | link | issue16353 messages |
| 2014-08-01 09:31:16 | serhiy.storchaka | create | |
|