From d0a452d8389bbd2d2d13033cd6696461a8855aff Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 29 Apr 2019 04:31:37 -0400 Subject: [PATCH] Add keyword arguments Signed-off-by: Roberto Rosario --- mayan/apps/dependencies/javascript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/dependencies/javascript.py b/mayan/apps/dependencies/javascript.py index 882ad61576..50edc2a815 100644 --- a/mayan/apps/dependencies/javascript.py +++ b/mayan/apps/dependencies/javascript.py @@ -95,7 +95,7 @@ class NPMPackage(object): with requests.get(self.version_metadata['dist']['tarball'], stream=True) as response: response.raise_for_status() with path_tar_file.open(mode='wb') as file_object: - shutil.copyfileobj(response.raw, file_object) + shutil.copyfileobj(fsrc=response.raw, fdst=file_object) with path_tar_file.open(mode='rb') as file_object: integrity_is_good = self.verify_package_data(file_object=file_object)