mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
pygst.py.in: give the correct error when not finding the version
Original commit message from CVS: * pygst.py.in: give the correct error when not finding the version
This commit is contained in:
parent
39d037c6d6
commit
2986e09cfe
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-12-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* pygst.py.in: give the correct error when not finding the version
|
||||||
|
|
||||||
2005-12-20 Edward Hervey <edward@fluendo.com>
|
2005-12-20 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* gst/gst-types.defs:
|
* gst/gst-types.defs:
|
||||||
|
|
|
@ -49,7 +49,7 @@ def require(version):
|
||||||
"pygst.require() must be called before importing gst"
|
"pygst.require() must be called before importing gst"
|
||||||
|
|
||||||
assert version == _pygst_version, \
|
assert version == _pygst_version, \
|
||||||
"Only version '%s' is available" % version
|
"Only version '%s' is available" % pygst_version
|
||||||
|
|
||||||
# move the pygst path to the front
|
# move the pygst path to the front
|
||||||
while _pygst_dir in sys.path:
|
while _pygst_dir in sys.path:
|
||||||
|
|
Loading…
Reference in a new issue