summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-12-22 11:20:44 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-12-22 11:20:44 +0000
commit2986e09cfef3776a83346cf58f479492b2f07f6c (patch)
treeb0c55f93c4aed711f6796ea6c56194494d5e849a
parent39d037c6d6e7dc621e795773951d94140f21125c (diff)
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
-rw-r--r--ChangeLog4
-rw-r--r--pygst.py.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 285e749..ad0fe5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* gst/gst-types.defs:
diff --git a/pygst.py.in b/pygst.py.in
index e3d6db9..f58653b 100644
--- a/pygst.py.in
+++ b/pygst.py.in
@@ -49,7 +49,7 @@ def require(version):
"pygst.require() must be called before importing gst"
assert version == _pygst_version, \
- "Only version '%s' is available" % version
+ "Only version '%s' is available" % pygst_version
# move the pygst path to the front
while _pygst_dir in sys.path: