Author: andar

Revision: 5827

Log:
        Likewise in trunk..

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

Modified: trunk/deluge/ui/common.py
===================================================================
--- trunk/deluge/ui/common.py   2009-10-09 00:39:57 UTC (rev 5826)
+++ trunk/deluge/ui/common.py   2009-10-09 00:40:46 UTC (rev 5827)
@@ -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