From 84d7dc51e9a98aa65989da1f32e93b2fd4d6a0e0 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 6 Aug 2010 12:19:04 +0200 Subject: [PATCH] str.iswhitespace -> str.isspace, Fixes #751 --- apps/filebrowser/templatetags/fb_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/filebrowser/templatetags/fb_tags.py b/apps/filebrowser/templatetags/fb_tags.py index 21aed146..5bc9b401 100644 --- a/apps/filebrowser/templatetags/fb_tags.py +++ b/apps/filebrowser/templatetags/fb_tags.py @@ -74,7 +74,7 @@ def string_to_dict(string): if string: string = str(string) - args = (arg.strip() for arg in string.split(',') if not arg.iswhitespace()) + args = (arg.strip() for arg in string.split(',') if not arg.isspace()) kwargs.update(arg.split('=', 1) for arg in args) return kwargs -- 2.20.1