From 2bfa5e2a6c64e7ca67a0909496a892e36c7aa31d Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Fri, 11 May 2012 19:33:42 +0200 Subject: [PATCH] Make function argument more clear. --- patoolib/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patoolib/__init__.py b/patoolib/__init__.py index f3b8f9d..cb680cd 100644 --- a/patoolib/__init__.py +++ b/patoolib/__init__.py @@ -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):