]>
jfr.im git - irc/quakenet/qwebirc.git/blob - clean.py
3 import bin
.pages
as pages
, os
, bin
.cleanpyc
as cleanpyc
, glob
4 from bin
.cleanpyc
import tryunlink
7 for y
in glob
.glob(os
.path
.join("static", "js", "%s-*.js" % x
)):
9 for y
in glob
.glob(os
.path
.join("static", "css", "%s-*.js" % x
)):
11 tryunlink("static", "%s.html" % x
)
12 tryunlink("static", "%sdebug.html" % x
)
14 if __name__
== "__main__":
15 tryunlink("static", "js", "qwebirc.js")