146
146
raise OSError("Could not access a file (zipping)")
147
147
for (dirpath, dirnames, filenames) in \
148
148
os.walk(source, onerror=error):
150
150
# Python < 2.6 errors if you add a directory
151
151
# (This means you can't add an empty directory)