skip slimit completely, cannot install it anymore for some reason

This commit is contained in:
ndparker 2015-10-15 21:27:25 +02:00
parent 2a1e426964
commit a9a5b823fe
2 changed files with 0 additions and 17 deletions

View File

@ -54,21 +54,6 @@ class jsmins(object):
"jsmin_2_0_9 available for python 2.4 and later..."
)
print(import_notes[-1])
try:
import slimit as _slimit_0_8_1
except (ImportError, SyntaxError):
import_notes.append("slimit_0_8_1 could not be imported")
print(import_notes[-1])
else:
class p_03_slimit_0_8_1(object):
pass
p_03_slimit_0_8_1 = p_03_slimit_0_8_1()
p_03_slimit_0_8_1.jsmin = _slimit_0_8_1.minify
class p_04_slimit_0_8_1_mangle(object):
pass
p_04_slimit_0_8_1_mangle = p_04_slimit_0_8_1_mangle()
p_04_slimit_0_8_1_mangle.jsmin = \
lambda x, s=_slimit_0_8_1: s.minify(x, True)
import rjsmin as p_05_rjsmin
try:

View File

@ -83,8 +83,6 @@ def write_table(filename, results):
names = [
('simple_port', 'Simple Port'),
('jsmin_2_0_9', 'jsmin 2.0.9'),
('slimit_0_8_1', 'slimit 0.8.1'),
('slimit_0_8_1_mangle', 'slimit 0.8.1 (mangle)'),
('rjsmin', '|rjsmin|'),
('_rjsmin', r'_\ |rjsmin|'),
]