Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73858 Details for
Bug 113762
net-im/pymsn-t-0.9.5-r1 is not compatible with dev-python/twisted-words-0.3.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ugly hack to make words-0.3.0's xmlstream work with code using old xish
twisted-words-0.3.0-old-xish-compat.patch (text/plain), 984 bytes, created by
Marien Zwart (RETIRED)
on 2005-11-30 15:15:33 UTC
(
hide
)
Description:
ugly hack to make words-0.3.0's xmlstream work with code using old xish
Filename:
MIME Type:
Creator:
Marien Zwart (RETIRED)
Created:
2005-11-30 15:15:33 UTC
Size:
984 bytes
patch
obsolete
>diff -u -r TwistedWords-0.3.0-orig/twisted/words/xish/xmlstream.py TwistedWords-0.3.0/twisted/words/xish/xmlstream.py >--- TwistedWords-0.3.0-orig/twisted/words/xish/xmlstream.py 2005-12-01 00:07:27.000000000 +0100 >+++ TwistedWords-0.3.0/twisted/words/xish/xmlstream.py 2005-12-01 00:09:02.000000000 +0100 >@@ -18,6 +18,11 @@ > from twisted.internet import protocol > from twisted.words.xish import domish, utility > >+try: >+ from twisted.xish import domish as olddomish >+except ImportError: >+ olddomish = None >+ > STREAM_CONNECTED_EVENT = intern("//event/stream/connected") > STREAM_START_EVENT = intern("//event/stream/start") > STREAM_END_EVENT = intern("//event/stream/end") >@@ -136,6 +141,9 @@ > """ > if isinstance(obj, domish.Element): > obj = obj.toXml() >+ >+ if olddomish is not None and isinstance(obj, olddomish.Element): >+ obj = obj.toXml() > > if isinstance(obj, unicode): > obj = obj.encode('utf-8')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 113762
:
73706
| 73858 |
73859
|
74050