pygst.py.in: Fix a silly logic inversion typo

Original commit message from CVS:
* pygst.py.in:
Fix a silly logic inversion typo
This commit is contained in:
Jan Schmidt 2006-02-28 00:17:45 +00:00
parent 18136f0905
commit af5d1afeba
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-02-28 Jan Schmidt <thaytan@mad.scientist.com>
* pygst.py.in:
Fix a silly logic inversion typo
2006-02-27 Edward Hervey <edward@fluendo.com>
* pygst.py.in:

View file

@ -45,7 +45,7 @@ def require(version):
raise StandardError, "a different version of gst was already required"
return
if not sys.modules.has_key('gst'):
if sys.modules.has_key('gst'):
raise StandardError, "pygst.require() must be called before importing gst"
if version != _pygst_version: