From 9df35c1e38f8dc4a7a90cb3fef84bd9b9f5755c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 21 Feb 2024 11:46:22 +0100 Subject: [PATCH] fix tar without obsinfo also in git managed packages --- TarSCM/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TarSCM/tasks.py b/TarSCM/tasks.py index 55fd7f36..65c8838d 100644 --- a/TarSCM/tasks.py +++ b/TarSCM/tasks.py @@ -118,7 +118,7 @@ def generate_list(self): if obsinfo != '_scmsync.obsinfo': args.obsinfo = obsinfo self.task_list.append(copy.copy(args)) - else: + if not args.obsinfo: # Fallback if there are no obsinfo files self.task_list.append(args) else: