mirror of
https://github.com/python/cpython.git
synced 2025-07-22 02:35:22 +00:00
Give a warning if system-wide sys.argv processing is off (because then we
may have missed an applet being dropped on us). This may fix the obscure bug Tony Ingraldi was experiencing.
This commit is contained in:
parent
c6f8fd925e
commit
43fd1f75db
1 changed files with 4 additions and 1 deletions
|
@ -151,7 +151,10 @@ def interact(options, title):
|
|||
|
||||
def edit_preferences():
|
||||
handler = pythonprefs.PythonOptions()
|
||||
result = interact(handler.load(), 'System-wide preferences')
|
||||
options = handler.load()
|
||||
if options['noargs']:
|
||||
EasyDialogs.Message('Warning: system-wide sys.argv processing is off.\nIf you dropped an applet I have not seen it.')
|
||||
result = interact(options, 'System-wide preferences')
|
||||
if result:
|
||||
handler.save(result)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue