Commits

Christian Ebert committed e649e61

sigpager: use builtin map() to collect strings

Comments (0)

Files changed (1)

muttils/sigpager.py

         sl = [f for f in os.listdir(self.sdir) if f.endswith(self.tail)]
         if not sl:
             raise util.DeadMan('no signature files in %s' % self.sdir)
-        self.sigs = [self.getstring(fn) for fn in sl]
+        self.sigs = map(self.getstring, sl)
         weed_re = None
         while True:
             reply = self.getsig(weed_re)