Commits

Johannes Köster committed 985e458

Minor.

Comments (0)

Files changed (1)

         return self._regex
 
     def match(self, target):
-        match = self.regex().match(target)
-        return match if match else None
+        return self.regex().match(target) or None
 
     def __eq__(self, other):
         f = other._file if isinstance(other, _IOFile) else other