upload_docs bails if your docs folder contains an empty folder

Issue #93 resolved
Anonymous created an issue

The upload_docs command seems to be too retentive when checking for an empty build folder. The current loop:

{{{

!python

for root, dirs, files in os.walk(self.upload_dir):
if not files:
raise DistutilsOptionError(
"no files found in upload directory '%s'"
% self.upload_dir)
}}}

…dies on //any// empty folder.