(self)
| 146 | self.right_list.sort() |
| 147 | |
| 148 | def phase1(self): # Compute common names |
| 149 | a = dict(zip(map(os.path.normcase, self.left_list), self.left_list)) |
| 150 | b = dict(zip(map(os.path.normcase, self.right_list), self.right_list)) |
| 151 | self.common = list(map(a.__getitem__, filter(b.__contains__, a))) |
| 152 | self.left_only = list(map(a.__getitem__, filterfalse(b.__contains__, a))) |
| 153 | self.right_only = list(map(b.__getitem__, filterfalse(a.__contains__, b))) |
| 154 | |
| 155 | def phase2(self): # Distinguish files, directories, funnies |
| 156 | self.common_dirs = [] |
nothing calls this directly
no test coverage detected