Adding the printout of the folder sizes of style and resources.
This is to give a better indication of what is being sent to
estimate the upload time.
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")