(self)
| 180 | return modules |
| 181 | |
| 182 | def load_cache(self): |
| 183 | path = os.path.join(self.output, '.clarcache') |
| 184 | cache = {} |
| 185 | |
| 186 | try: |
| 187 | fp = open(path, 'rb') |
| 188 | cache = pickle.load(fp) |
| 189 | fp.close() |
| 190 | except (IOError, ValueError): |
| 191 | pass |
| 192 | |
| 193 | return cache |
| 194 | |
| 195 | def save_cache(self): |
| 196 | path = os.path.join(self.output, '.clarcache') |