From 664c153a5f272672befec621d95ae40461e4f190 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Sun, 8 Nov 2015 11:56:20 +0100 Subject: [PATCH] overrides: fix a few typos in exception messages --- gi/overrides/Gst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gi/overrides/Gst.py b/gi/overrides/Gst.py index 8ad6135..9ee6081 100644 --- a/gi/overrides/Gst.py +++ b/gi/overrides/Gst.py @@ -118,7 +118,7 @@ class Pad(Gst.Pad): try: res = self._real_query_func(pad, parent, query) except TypeError: - raise TypeError("Invalid query method %s, 2 or 3 arguments requiered" + raise TypeError("Invalid query method %s, 2 or 3 arguments required" % self._real_query_func) query.mini_object.refcount += 1 @@ -157,7 +157,7 @@ class GhostPad(Gst.GhostPad): def __init__(self, name, target=None, direction=None): if direction is None: if target is None: - raise TypeError('you must pass at least one of target' + raise TypeError('you must pass at least one of target ' 'and direction') direction = target.props.direction -- 2.7.4