/usr/share/doc/python-jabber/patches/unused/AlexeyNezhdanov/parse_offline_v0.3.1.diff is in python-jabber 0.5.0-1.6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | diff -Nur deb/xmlstream.py parse_offline/xmlstream.py
--- deb/xmlstream.py Tue Oct 29 08:45:55 2002
+++ parse_offline/xmlstream.py Wed Oct 30 11:19:27 2002
@@ -405,7 +405,11 @@
self.DEBUG("got data %s" % data )
self.log(data, 'RECV:')
- self._parser.Parse(data)
+ if data[:5]<>'<?xml' and data[:15]<>'</stream:stream':
+ for i in NodeBuilder('<buffer>'+data+'</buffer>').getDom().kids:
+ self.dispatch(i)
+ else:
+ self._parser.Parse(data)
return data
def write(self,data_out=u''):
|