(self, key)
| 262 | self.root = root |
| 263 | |
| 264 | def _get_path(self, key): |
| 265 | if os.path.sep in key: |
| 266 | raise ValueError("Bad key: %s" % repr(key)) |
| 267 | return os.path.join(self.root, key) |
| 268 | |
| 269 | def __contains__(self, key): |
| 270 | path = self._get_path(key) |
no test coverage detected