Hello,
a little improvement
for CPSIO/BaseImporter :
in method
unzipArchive you should take care of the fact that zip files usually contains
directory entries in addition to the files entries (at least to store an empty
directory).
From http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/ZipEntry.html#isDirectory()
: "a directory entry is defined to be the one whose name ends with a
'/'"
Thanks for adding
the little patch since it will allow everybody to import zip files created
with other tools than python zipFile (compressed ones for
example)
And sorry if this
was already known/corrected, I'm not a specialist of SVN so I'm not sure to have
seen the latest code :-)
Best
regards,
@+, Nicolas
Soppera
OCDE NEA Databank
OCDE NEA Databank
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
