walkToLocation works better for me - hopefully it won't break anything.

This commit is contained in:
sebd 2004-07-19 19:39:52 +00:00
parent ff5ab2b95b
commit 7db3f1fa4a
1 changed files with 1 additions and 3 deletions

View File

@ -238,9 +238,7 @@ class PasswordAccount(things.Thing):
userAbsolutePath = self.getUserAbsolutePath()
if userAbsolutePath:
try:
userHolder = dataholders.DataHolder(
pathFragment = userAbsolutePath, mimeType = "text/xml", isRootElder = True,
containedFileSystem = filesystems.PartialFileSystem(userAbsolutePath))
userHolder = self.walkToLocation(userAbsolutePath)
except IOError, error:
if error.errno == errno.ENOENT:
logs.debug("""User at path "%s" doesn't exist.""" % userAbsolutePath)