size: printing size of style
[treecutter.git] / treecutter / sitemap.py
index 106acb511e84bbe604d260046954a3204e927b54..b6d0fecf3630ce1c1fcb6310e6c9664d2c6a2f24 100644 (file)
@@ -141,5 +141,6 @@ class Sitemap():
         publish(self._tmptarget, self._output)
         for res in ["stylesheets","images","js","fonts","favicon.ico"]:
             if (os.path.exists(self._style+res)):
+                print "Size [ %7s ]" % (sizeof_fmt(get_folder_size(self._style+res)))
                 publish(self._style+res, self._output)
         ssh_cmd(self._output,"chmod a+rx")