Bug 81191 - pygtk is eating --name argument
pygtk is eating --name argument
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: pygtk2 (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matt Wilson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-06 12:10 EST by Daniel Walsh
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-20 00:22:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Daniel Walsh 2003-01-06 12:10:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202

Description of problem:
If I write a python script like the following
cat t.py
#!/usr/bin/python
import sys
print sys.argv
import gtk
print sys.argv

Then run it with the following arguments
 ./t.py --name=xyz --who cares
['./t.py', '--name=xyz', '--who', 'cares']
['./t.py', '--who', 'cares']


The --name argument dissappears.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.See description
2.
3.
    

Expected Results:  --name should still be an argument.

Additional info:
Comment 1 Matt Wilson 2003-05-20 00:22:37 EDT
  --name=NAME                            Program name as used by the window
                                         manager

Note You need to log in before you can comment on or make changes to this bug.