sos/backport-archive-remove-unused-copy-arg-from-FileCacheArchive.patch

29 lines
885 B
Diff

From 6e79c4b4a4f32fa549708dbb8c8b9af73ab8ff61 Mon Sep 17 00:00:00 2001
From: "Bryn M. Reeves" <bmr@redhat.com>
Date: Mon, 10 Sep 2018 16:33:33 +0100
Subject: [PATCH 0048/1146] [archive] remove unused 'copy' arg from
FileCacheArchive.add_dir()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
---
sos/archive.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sos/archive.py b/sos/archive.py
index 6db398fc..4b30630b 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -439,8 +439,7 @@ class FileCacheArchive(Archive):
self.log_debug("No link follow up: source=%s link_name=%s" %
(source, link_name))
-
- def add_dir(self, path, copy=False):
+ def add_dir(self, path):
"""Create a directory in the archive.
:param path: the path in the host file system to add
--
2.26.0.windows.1