Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139913 Details for
Bug 204126
mod_jabber.py: Jabber notification for portage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dumb way to fix this
mod_jabber.fixed_resource.patch (text/plain), 1.21 KB, created by
Il'ya
on 2008-01-02 22:19:45 UTC
(
hide
)
Description:
dumb way to fix this
Filename:
MIME Type:
Creator:
Il'ya
Created:
2008-01-02 22:19:45 UTC
Size:
1.21 KB
patch
obsolete
>--- /tmp/mod_jabber.py 2008-01-02 23:19:37.000000000 +0300 >+++ /usr/lib/portage/pym/elog_modules/mod_jabber.py 2008-01-02 23:21:21.667493297 +0300 >@@ -13,8 +13,8 @@ > # where jid: one or more jabber id separated by a whitespace > if mysettings["PORTAGE_ELOG_JABBERFROM"]: > if not ":" in mysettings["PORTAGE_ELOG_JABBERFROM"]: >- raise portage_exception.PortageException("!!! Invalid syntax for PORTAGE_ELOG_JABBERFROM. Use user@host:password") >- myfrom, mypass = mysettings["PORTAGE_ELOG_JABBERFROM"].split(":") >+ raise portage_exception.PortageException("!!! Invalid syntax for PORTAGE_ELOG_JABBERFROM. Use user@host:password:resource") >+ myfrom, mypass, myres = mysettings["PORTAGE_ELOG_JABBERFROM"].split(":") > mysubject = mysettings["PORTAGE_ELOG_JABBERSUBJECT"] > if not mysubject: > mysubject = mysettings["PORTAGE_ELOG_MAILSUBJECT"] >@@ -32,7 +32,7 @@ > if connected <> 'tls': > raise portage_exception.PortageException("!!! Warning: unable to estabilish secure connection - TLS failed!") > >- auth = client.auth(myuser,mypass) >+ auth = client.auth(myuser,mypass,myres) > if not auth: > raise portage_exception.PortageException("!!! Could not authentificate to %s" %myserver) > if auth <> 'sasl':
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 204126
: 139913