[Pkg-privacy-commits] [tails-installer] 17/35: whitespace tweaks and move an import around

anonym anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:14:42 UTC 2017


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

anonym-tails-guest pushed a commit to annotated tag 3.12.0
in repository tails-installer.

commit 92d4952a9c03e077c5a4032e70d93f1e993b72c5
Author: Luke Macken <lmacken at redhat.com>
Date:   Mon Apr 22 14:45:32 2013 -0400

    whitespace tweaks and move an import around
---
 liveusb/creator.py    | 2 +-
 tests/test_creator.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/liveusb/creator.py b/liveusb/creator.py
index 55ce830..e918c38 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -29,6 +29,7 @@ import tempfile
 import logging
 import hashlib
 import shutil
+import signal
 import time
 import os
 import re
@@ -738,7 +739,6 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
         return dbus.Interface(dev_obj, "org.freedesktop.UDisks.Device")
 
     def terminate(self):
-        import signal
         for pid in self.pids:
             try:
                 os.kill(pid, signal.SIGHUP)
diff --git a/tests/test_creator.py b/tests/test_creator.py
index 8ac8b09..06cfb21 100644
--- a/tests/test_creator.py
+++ b/tests/test_creator.py
@@ -92,7 +92,7 @@ class TestLiveUSBCreator:
         from glob import glob
         live = self._get_creator()
         live.detect_removable_drives()
-        isos = filter(lambda x: x.endswith('.iso'), 
+        isos = filter(lambda x: x.endswith('.iso'),
                       filter(os.path.isfile, glob('*') + glob('*/*')))
         assert isos, "No ISOs found.  Put one in this directory"
         for drive in live.drives:

-- 
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