summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: