From e7aa0388931b643066aed74a4a99955be58f2007 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 28 Nov 2019 11:20:53 +0100 Subject: [PATCH] 2to3 on jsmin.py --- jsmin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsmin.py b/jsmin.py index 5568c7f..1f2ab2b 100644 --- a/jsmin.py +++ b/jsmin.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/python3 # This code is original from jsmin by Douglas Crockford, it was translated to # Python by Baruch Even. The original code had the following copyright and @@ -30,7 +30,7 @@ # SOFTWARE. # */ -from StringIO import StringIO +from io import StringIO def jsmin(js): ins = StringIO(js) -- 2.43.0