diff options
author | William M. Brack <wbrack@src.gnome.org> | 2007-02-16 17:11:09 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2007-02-16 17:11:09 +0000 |
commit | 7a12e57b7f4ff2f1bc94a8942fdb1224a6d4deae (patch) | |
tree | 9cfa2199d959ac75d863900896a0a430fdc2377b /python/libxml.py | |
parent | 43a872906a5c9ce84f70746496cf9d770271bcad (diff) | |
download | libxml2-7a12e57b7f4ff2f1bc94a8942fdb1224a6d4deae.tar.gz |
fixed tab problem with patch from Andreas Hanke (bug #408626)
* python/libxml.py: fixed tab problem with patch from Andreas Hanke (bug #408626)
svn path=/trunk/; revision=3586
Diffstat (limited to 'python/libxml.py')
-rw-r--r-- | python/libxml.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python/libxml.py b/python/libxml.py index 988a1662..18cfad26 100644 --- a/python/libxml.py +++ b/python/libxml.py @@ -245,19 +245,19 @@ class xmlCore: def __eq__(self, other): if other == None: - return False + return False ret = libxml2mod.compareNodesEqual(self._o, other._o) - if ret == None: - return False - return ret == True + if ret == None: + return False + return ret == True def __ne__(self, other): if other == None: - return True + return True ret = libxml2mod.compareNodesEqual(self._o, other._o) - return not ret + return not ret def __hash__(self): - ret = libxml2mod.nodeHash(self._o) - return ret + ret = libxml2mod.nodeHash(self._o) + return ret def __str__(self): return self.serialize() |