[gstreamer-bugs] [Bug 625211] New: When just used as a n import, acts on --help or -h in sys.argv
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Jul 24 21:16:54 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=625211
GStreamer | gst-python | unspecified
Summary: When just used as a n import, acts on --help or -h in
sys.argv
Classification: Desktop
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: aharrin at luc.edu
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
A one line program
import gst
reacts to a command line with parameter --help or -h, and gives garbled gst
help and quits. True also if the import is buried inside other imports.
In a longer script with a command line parser, this preempts the main script.
Get rid of this behavior when gst is not __main__.
Using 64 bit Ubuntu 10.4
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list