From: Radek Czajka Date: Fri, 6 Aug 2010 10:19:04 +0000 (+0200) Subject: str.iswhitespace -> str.isspace, Fixes #751 X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/84d7dc51e9a98aa65989da1f32e93b2fd4d6a0e0?hp=74081c8b2e9a8588505c40257556e17274fc80de str.iswhitespace -> str.isspace, Fixes #751 --- 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