upload_docs bails if your docs folder contains an empty folder

Issue #93 resolved
Former user created an issue

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



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.