def jarit(src):
try:
- p = subprocess.Popen(["java", "-jar", "bin/yuicompressor-2.3.5.jar", src], stdout=subprocess.PIPE)
+ p = subprocess.Popen(["java", "-jar", "bin/yuicompressor-2.4.8.jar", src], stdout=subprocess.PIPE)
except Exception, e:
if hasattr(e, "errno") and e.errno == 2:
raise MinifyException, "unable to run java"
for x in files:
f2 = open(root_path(x), "rb")
- f.write(f2.read())
+ f.write(f2.read() + "\n")
f2.close()
f.close()