Strip new lines when loading auth file

This commit is contained in:
Andrew Resch 2008-12-10 10:19:19 +00:00
parent da177ff4e4
commit 33663a9d5d

View File

@ -85,4 +85,4 @@ class AuthManager(component.Component):
# This is a comment line
continue
username, password = line.split(":")
self.auth[username] = password
self.auth[username.strip()] = password.strip()