Skip to content

Commit

Permalink
Fixed code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew J. Sonne committed Jun 25, 2017
1 parent 46f5cc8 commit 66eee97
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/python/awslambdahelper/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ def _full_path(dir_):


class LambdahelperBundler(object):
"""
Handler for the cli tool to archive code up for Lambda
"""

def run(self, args=None):
"""
Entrypoint for our bundler cli tool
Expand Down Expand Up @@ -216,6 +220,10 @@ def create_setup_cfg(temp_cfg_path):


class DirectoryZipFile(ZipFile, object):
"""
Handles the zipping of an entire directory
"""

def __init__(self, target):
zip_destination = target.rstrip(os.path.sep) + '.zip'

Expand Down

0 comments on commit 66eee97

Please sign in to comment.