From 2544250ca7823f45afbed4a813b77452eccbf24d Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Tue, 9 Jun 2020 16:37:39 +0200
Subject: [PATCH] Add missing argument to line_to_progress

---
 dist-sync | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dist-sync b/dist-sync
index d04250f..a003bca 100755
--- a/dist-sync
+++ b/dist-sync
@@ -280,7 +280,7 @@ class Repo:
             with chdir(destdir):
                 def line_to_progress(l):
                     return '%s: %s' % (self.name, l)
-                err = self.do_subprocess(source.split(), line_to_progress(l))
+                err = self.do_subprocess(source.split(), line_to_progress)
                 if err != 0:
                     log('rsync failed with %d' % err)
                     pass
-- 
GitLab