Author: andar

Revision: 5826

Log:
        Fix localclient authentication by stripping the lines read from the 
auth file

Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog   2009-10-09 00:19:07 UTC (rev 5825)
+++ branches/1.2_RC/ChangeLog   2009-10-09 00:39:57 UTC (rev 5826)
@@ -1,6 +1,7 @@
 === Deluge 1.2.0_rc2 (In Development) ===
 ==== GtkUI ====
   * Fix path errors when adding torrents externally in Windows
+  * Fix localclient authentication by stripping the lines read from the auth 
file
   
 === Deluge 1.2.0_rc1 (07 October 2009) ===
 ==== Core ====

Modified: branches/1.2_RC/deluge/core/authmanager.py
===================================================================
--- branches/1.2_RC/deluge/core/authmanager.py  2009-10-09 00:19:07 UTC (rev 
5825)
+++ branches/1.2_RC/deluge/core/authmanager.py  2009-10-09 00:39:57 UTC (rev 
5826)
@@ -124,6 +124,7 @@
             if line.startswith("#"):
                 # This is a comment line
                 continue
+            line = line.strip()
             try:
                 lsplit = line.split(":")
             except Exception, e:

Modified: branches/1.2_RC/deluge/ui/common.py
===================================================================
--- branches/1.2_RC/deluge/ui/common.py 2009-10-09 00:19:07 UTC (rev 5825)
+++ branches/1.2_RC/deluge/ui/common.py 2009-10-09 00:39:57 UTC (rev 5826)
@@ -301,6 +301,7 @@
             if line.startswith("#"):
                 # This is a comment line
                 continue
+            line = line.strip()
             try:
                 lsplit = line.split(":")
             except Exception, e:



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to