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
diff --git a/ChangeLog b/ChangeLog
index 6498ed2..e218333 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-Thu Feb 15 12:43:28 PST 2007 William Brack <wbrack#mmm.com.hk>
+Fri Feb 16 09:13:38 PST 2007 William Brack <wbrack@mmm.com.hk>
+
+ * python/libxml.py: fixed tab problem with patch from
+ Andreas Hanke (bug #408626)
+
+Thu Feb 15 12:43:28 PST 2007 William Brack <wbrack@mmm.com.hk>
* doc/xml.html: Changed all references to libxml2 CVS over to
the corresponding SVN. A few other spelling/grammar/links
diff --git a/NEWS b/NEWS
index e13224f..aeea289 100644
--- a/NEWS
+++ b/NEWS
@@ -12,9 +12,9 @@
The change log at
ChangeLog.html
describes the recents commits
-to the CVS at
-http://cvs.gnome.org/viewcvs/libxml2/
- code base.There is the list of public releases:
+to the SVN at
+http://svn.gnome.org/viewcvs/libxml2/trunk/
+ code base.Here is the list of public releases:
2.6.27: Oct 25 2006:
- Portability fixes: file names on windows (Roland Schwingel,
Emelyanov Alexey), windows compile fixup (Rob Richards),
@@ -683,7 +683,7 @@
- New xmlWriter API provided by Alfred Mickautsch
- Schemas: base64 support by Anthony Carrico
- Parser<->HTTP integration fix, proper processing of the Mime-Type
- and charset informations if available.
+ and charset information if available.
- Relax-NG: bug fixes including the one reported by Martijn Faassen and
zeroOrMore, better error reporting.
- Python bindings (Stéphane Bidoul), never use stdout for errors
@@ -901,7 +901,7 @@
- Fix for HTTP URL escaping problem
- added an TextXmlReader (C#) like API (work in progress)
- Rewrote the API in XML generation script, includes a C parser and saves
- more informations needed for C# bindings
+ more information needed for C# bindings
2.4.28: Nov 22 2002:
diff --git a/python/libxml.py b/python/libxml.py
index 988a166..18cfad2 100644
--- a/python/libxml.py
+++ b/python/libxml.py
@@ -245,19 +245,19 @@
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()