spacepaste

  1.  
  2. $ find -name '*.py' -print -or -name test -prune | xargs -P10 grep --color -P 'except( Exception(,.*)?)?:\s*(\n\s*#.*)*\n\s*(pass|return|None)'
  3. ./slave/buildslave/commands/base.py: except:
  4. pass
  5. ./slave/buildslave/monkeypatches/bug4881.py: except:
  6. return self._fallbackFDImplementation
  7. ./master/buildbot/www/rest.py: except:
  8. pass
  9. ./master/buildbot/status/tinderbox.py: except:
  10. pass
  11. ./master/buildbot/status/web/buildstatus.py: except:
  12. return "unknown builder"
  13. ./master/buildbot/status/web/console.py: except:
  14. return False
  15. ./master/buildbot/schedulers/timed.py: except Exception:
  16. pass
  17. ./master/buildbot/scripts/stop.py: except:
  18. pass
  19. ./master/buildbot/buildslave/base.py: except:
  20. pass
  21. ./master/buildbot/buildslave/base.py: except Exception:
  22. pass
  23. ./master/buildbot/steps/source/oldsource.py: except:
  24. pass
  25. ./master/buildbot/steps/source/git.py: except:
  26. pass
  27. ./master/buildbot/db/model.py: except:
  28. return False
  29. ./master/buildbot/db/pool.py: except:
  30. return (0,)
  31. ./master/buildbot/process/metrics.py: except:
  32. return 0
  33. ./master/buildbot/util/sautils.py: except:
  34. return -1
  35. ./master/buildbot/util/croniter.py: except:
  36. pass
  37. ./master/buildbot/monkeypatches/bug4881.py: except:
  38. return self._fallbackFDImplementation
  39. ./master/contrib/SimpleConfig.py: except:
  40. pass
  41. ./master/contrib/trac/bbwatcher/model.py: except Exception, e:
  42. pass
  43.