]> git.phdru.name Git - bookmarks_db.git/commitdiff
Feat(Python3): Fix lambda
authorOleg Broytman <phd@phdru.name>
Sat, 13 May 2017 16:20:21 +0000 (19:20 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 13 May 2017 17:10:24 +0000 (20:10 +0300)
subproc.py

index 3507ac1b86a123718b2133d5e63fe89303be43e0..7344a51bb4506f8f7f7bf32f6718a1299495b272 100644 (file)
@@ -325,7 +325,7 @@ class Subprocess:
         # Only got here if subprocess is not gone:
         raise SubprocessError(
                "Failed kill of subproc %d, '%s', with signals %s" %
         # Only got here if subprocess is not gone:
         raise SubprocessError(
                "Failed kill of subproc %d, '%s', with signals %s" %
-                (self.pid, self.cmd, map(lambda(x): x[0], sigs)))
+                (self.pid, self.cmd, map(lambda x: x[0], sigs)))
 
     def __del__(self):
         """Terminate the subprocess"""
 
     def __del__(self):
         """Terminate the subprocess"""