Skip to content

Commit 06acfc1

Browse files
author
Kevin Turner
committed
[project @ store.filestore.FileStore._allAssocs: filename must include directory]
1 parent 1b819a2 commit 06acfc1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎openid/store/filestore.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,9 @@ def useNonce(self, server_url, timestamp, salt):
363363
def _allAssocs(self):
364364
all_associations = []
365365

366-
association_filenames = os.listdir(self.association_dir)
366+
association_filenames = map(
367+
lambda filename: os.path.join(self.association_dir, filename),
368+
os.listdir(self.association_dir))
367369
for association_filename in association_filenames:
368370
try:
369371
association_file = file(association_filename, 'rb')

0 commit comments

Comments
 (0)