Skip to content

Commit

Permalink
Merge pull request #8 from wcapellan/master
Browse files Browse the repository at this point in the history
Fixed empty dirs that take OS absolute path
  • Loading branch information
revmischa committed Jul 12, 2017
2 parents 5dfbb65 + 4e8112d commit 9a0d44c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Binary file removed AWSLambda.sublime-package
Binary file not shown.
2 changes: 0 additions & 2 deletions awslambda.py
Expand Up @@ -191,8 +191,6 @@ def zip_dir(self, dir_path):
# files to skip
skip_re = re.compile("\.pyc$") # no compiled python files pls
for root, dirs, files in os.walk(dir_path):
# add dir itself (needed for empty dirs
zip.write(os.path.join(root, "."))
# add files
for file in files:
file_path = os.path.join(root, file)
Expand Down

0 comments on commit 9a0d44c

Please sign in to comment.