def jarit(src):
try:
- p = subprocess.Popen(["java", "-jar", "bin/yuicompressor-2.4.2.jar", src], stdout=subprocess.PIPE)
+ p = subprocess.Popen(["java", "-jar", "bin/yuicompressor-2.4.8.jar", src], stdout=subprocess.PIPE, shell=os.name == "nt")
except Exception, e:
if hasattr(e, "errno") and e.errno == 2:
raise MinifyException, "unable to run java"
f.close()
def main(outputdir=".", produce_debug=True):
- ID = pagegen.gethgid()
+ ID = pagegen.getgitid()
pagegen.main(outputdir, produce_debug=produce_debug)
if __name__ == "__main__":
main()
-
\ No newline at end of file
+