From 914ed68bb9873b4d283d2b9790c6801f44445d06 Mon Sep 17 00:00:00 2001 From: ndparker Date: Sun, 9 Feb 2014 14:48:04 +0100 Subject: [PATCH] fix syntax error for python < 3.3 --- rjsmin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rjsmin.py b/rjsmin.py index a8ab9ab..2d88a01 100755 --- a/rjsmin.py +++ b/rjsmin.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: ascii -*- -u""" +""" :Copyright: Copyright 2011 - 2014 @@ -60,6 +60,7 @@ Both python 2 and python 3 are supported. .. _jsmin.c by Douglas Crockford: http://www.crockford.com/javascript/jsmin.c """ +__doc__ = getattr(__doc__, 'decode', lambda x: __doc__)('latin-1') __author__ = "Andr\xe9 Malo" __author__ = getattr(__author__, 'decode', lambda x: __author__)('latin-1') __docformat__ = "restructuredtext en"