[Pkg-privacy-commits] [tails-installer] 01/04: Avoid an exception when there is no update function

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:27:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.93.3
in repository tails-installer.

commit 28a7a1b45cc15ae7955af512ee8c3e1a13b1d0dd
Author: Martin Briza <mbriza at redhat.com>
Date:   Mon Apr 25 15:54:59 2016 +0200

    Avoid an exception when there is no update function
---
 liveusb/creator.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/liveusb/creator.py b/liveusb/creator.py
index d8cf0c7..139fb99 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -397,7 +397,8 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
         else:
             dd.wait()
 
-        update_function(1.0)
+        if update_function:
+            update_function(1.0)
 
     def terminate(self):
         for pid in self.pids:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list