(self)
| 258 | |
| 259 | |
| 260 | def cleanTree(self): |
| 261 | for path, dirs, files in walk(self.path("")): |
| 262 | for f in files: |
| 263 | if not f.endswith(".pyo") and not f.endswith(".pyc"): |
| 264 | continue |
| 265 | |
| 266 | if "_25" in f or "_26" in f or "_27" in f: |
| 267 | continue |
| 268 | |
| 269 | print join(path, f) |
| 270 | remove(join(path, f)) |
| 271 | |
| 272 | def start(self, rpc=True, web=True): |
| 273 | """ starts the fun :D """ |