2to3 on jsmin.py
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Nov 2019 10:20:53 +0000 (11:20 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Nov 2019 10:20:53 +0000 (11:20 +0100)
jsmin.py

index 5568c7f..1f2ab2b 100644 (file)
--- a/jsmin.py
+++ b/jsmin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2\r
+#!/usr/bin/python3\r
 \r
 # This code is original from jsmin by Douglas Crockford, it was translated to\r
 # Python by Baruch Even. The original code had the following copyright and\r
@@ -30,7 +30,7 @@
 # SOFTWARE.\r
 # */\r
 \r
-from StringIO import StringIO\r
+from io import StringIO\r
 \r
 def jsmin(js):\r
     ins = StringIO(js)\r