Skip to content

Commit

Permalink
Make function argument more clear.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Kleineidam committed May 11, 2012
1 parent 7fa1151 commit 2bfa5e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patoolib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,10 @@ def test (archive, verbose=False):
return handle_archive(archive, 'test', verbose=verbose)


def create (archive, *files, **kwargs):
def create (archive, *filenames, **kwargs):
"""Create given archive with given files."""
assert len(files) > 0
return handle_archive(archive, 'create', *files, **kwargs)
assert len(filenames) > 0
return handle_archive(archive, 'create', *filenames, **kwargs)


def diff (archive1, archive2, verbose=False):
Expand Down

0 comments on commit 2bfa5e2

Please sign in to comment.