[Buildbot-commits] [buildbot/buildbot] a801d8: Replace bare excepts with something more responsib...

GitHub noreply at github.com
Sun Sep 14 15:07:49 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: a801d8e9b55bcd5876de18aea4f2993349375cd2
      https://github.com/buildbot/buildbot/commit/a801d8e9b55bcd5876de18aea4f2993349375cd2
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M apidocs/epyrun
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/libvirt.py
    M master/buildbot/changes/bonsaipoller.py
    M master/buildbot/changes/gitpoller.py
    M master/buildbot/changes/hgpoller.py
    M master/buildbot/changes/svnpoller.py
    M master/buildbot/config.py
    M master/buildbot/data/types.py
    M master/buildbot/db/buildrequests.py
    M master/buildbot/db/changes.py
    M master/buildbot/db/enginestrategy.py
    M master/buildbot/db/model.py
    M master/buildbot/db/pool.py
    M master/buildbot/db/state.py
    M master/buildbot/master.py
    M master/buildbot/monkeypatches/bug4881.py
    M master/buildbot/process/build.py
    M master/buildbot/process/builder.py
    M master/buildbot/process/metrics.py
    M master/buildbot/process/remotecommand.py
    M master/buildbot/schedulers/base.py
    M master/buildbot/scripts/base.py
    M master/buildbot/scripts/runner.py
    M master/buildbot/scripts/sendchange.py
    M master/buildbot/scripts/stop.py
    M master/buildbot/scripts/upgrade_master.py
    M master/buildbot/status/build.py
    M master/buildbot/status/builder.py
    M master/buildbot/status/buildrequest.py
    M master/buildbot/status/master.py
    M master/buildbot/status/progress.py
    M master/buildbot/steps/package/rpm/rpmbuild.py
    M master/buildbot/steps/shell.py
    M master/buildbot/steps/source/gerrit.py
    M master/buildbot/steps/source/git.py
    M master/buildbot/steps/source/svn.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/integration/test_slave_comm.py
    M master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py
    M master/buildbot/test/unit/test_changes_svnpoller.py
    M master/buildbot/test/unit/test_contrib_buildbot_cvs_mail.py
    M master/buildbot/test/unit/test_db_migrate_versions_019_merge_schedulers_to_objects.py
    M master/buildbot/test/unit/test_db_migrate_versions_020_remove_change_links.py
    M master/buildbot/test/unit/test_schedulers_manager.py
    M master/buildbot/test/unit/test_status_logfile.py
    M master/buildbot/test/util/db.py
    M master/buildbot/test/util/validation.py
    M master/buildbot/util/croniter.py
    M master/buildbot/util/eventual.py
    M master/buildbot/util/maildir.py
    M master/buildbot/util/sautils.py
    M master/buildbot/util/subscription.py
    M master/buildbot/www/resource.py
    M master/contrib/SimpleConfig.py
    M master/contrib/buildbot_cvs_mail.py
    M master/contrib/bzr_buildbot.py
    M master/contrib/check_buildbot.py
    M master/contrib/coverage2text.py
    M master/contrib/git_buildbot.py
    M master/contrib/googlecode_atom.py
    M master/contrib/run_maxq.py
    M master/contrib/svnpoller.py
    M master/docs/manual/optimization.rst
    M slave/buildslave/bot.py
    M slave/buildslave/commands/base.py
    M slave/buildslave/commands/bk.py
    M slave/buildslave/commands/transfer.py
    M slave/buildslave/commands/utils.py
    M slave/buildslave/monkeypatches/bug4881.py
    M slave/buildslave/runprocess.py
    M slave/buildslave/scripts/stop.py
    M slave/buildslave/test/unit/test_commands_utils.py
    M slave/buildslave/test/unit/test_runprocess.py
    M slave/buildslave/test/util/command.py

  Log Message:
  -----------
  Replace bare excepts with something more responsible

In many cases, this is 'except Exception', but where a more specifc
exception was obvious, that is used instead.


  Commit: ff638cffd7118a65dddfe8349a8ceb9e1399bc7c
      https://github.com/buildbot/buildbot/commit/ff638cffd7118a65dddfe8349a8ceb9e1399bc7c
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M common/pylintrc

  Log Message:
  -----------
  have pylint check for bare except's

Fixes #2540.


  Commit: 8650eba13feb8cdbf1b2ab6a764f7ed7c620ba06
      https://github.com/buildbot/buildbot/commit/8650eba13feb8cdbf1b2ab6a764f7ed7c620ba06
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-09-14 (Sun, 14 Sep 2014)

  Changed paths:
    M master/buildbot/monkeypatches/bug4881.py
    M slave/buildslave/commands/bk.py
    M slave/buildslave/monkeypatches/bug4881.py

  Log Message:
  -----------
  fix minor errors


  Commit: a12b9bb5f0b3eec67851e8ed5f6b86c1ddb06d2a
      https://github.com/buildbot/buildbot/commit/a12b9bb5f0b3eec67851e8ed5f6b86c1ddb06d2a
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-09-14 (Sun, 14 Sep 2014)

  Changed paths:
    M master/contrib/buildbot_cvs_mail.py

  Log Message:
  -----------
  pep8 spacing on files that haven't been touched in a while


  Commit: 707a35311822caee580f534f429b76035d55f8a1
      https://github.com/buildbot/buildbot/commit/707a35311822caee580f534f429b76035d55f8a1
  Author: Mikhail Sobolev <mss at mawhrin.net>
  Date:   2014-09-14 (Sun, 14 Sep 2014)

  Changed paths:
    M apidocs/epyrun
    M common/pylintrc
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/libvirt.py
    M master/buildbot/changes/bonsaipoller.py
    M master/buildbot/changes/gitpoller.py
    M master/buildbot/changes/hgpoller.py
    M master/buildbot/changes/svnpoller.py
    M master/buildbot/config.py
    M master/buildbot/data/types.py
    M master/buildbot/db/buildrequests.py
    M master/buildbot/db/changes.py
    M master/buildbot/db/enginestrategy.py
    M master/buildbot/db/model.py
    M master/buildbot/db/pool.py
    M master/buildbot/db/state.py
    M master/buildbot/master.py
    M master/buildbot/monkeypatches/bug4881.py
    M master/buildbot/process/build.py
    M master/buildbot/process/builder.py
    M master/buildbot/process/metrics.py
    M master/buildbot/process/remotecommand.py
    M master/buildbot/schedulers/base.py
    M master/buildbot/scripts/base.py
    M master/buildbot/scripts/runner.py
    M master/buildbot/scripts/sendchange.py
    M master/buildbot/scripts/stop.py
    M master/buildbot/scripts/upgrade_master.py
    M master/buildbot/status/build.py
    M master/buildbot/status/builder.py
    M master/buildbot/status/buildrequest.py
    M master/buildbot/status/master.py
    M master/buildbot/status/progress.py
    M master/buildbot/steps/package/rpm/rpmbuild.py
    M master/buildbot/steps/shell.py
    M master/buildbot/steps/source/gerrit.py
    M master/buildbot/steps/source/git.py
    M master/buildbot/steps/source/svn.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/integration/test_slave_comm.py
    M master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py
    M master/buildbot/test/unit/test_changes_svnpoller.py
    M master/buildbot/test/unit/test_contrib_buildbot_cvs_mail.py
    M master/buildbot/test/unit/test_db_migrate_versions_019_merge_schedulers_to_objects.py
    M master/buildbot/test/unit/test_db_migrate_versions_020_remove_change_links.py
    M master/buildbot/test/unit/test_schedulers_manager.py
    M master/buildbot/test/unit/test_status_logfile.py
    M master/buildbot/test/util/db.py
    M master/buildbot/test/util/validation.py
    M master/buildbot/util/croniter.py
    M master/buildbot/util/eventual.py
    M master/buildbot/util/maildir.py
    M master/buildbot/util/sautils.py
    M master/buildbot/util/subscription.py
    M master/buildbot/www/resource.py
    M master/contrib/SimpleConfig.py
    M master/contrib/buildbot_cvs_mail.py
    M master/contrib/bzr_buildbot.py
    M master/contrib/check_buildbot.py
    M master/contrib/coverage2text.py
    M master/contrib/git_buildbot.py
    M master/contrib/googlecode_atom.py
    M master/contrib/run_maxq.py
    M master/contrib/svnpoller.py
    M master/docs/manual/optimization.rst
    M slave/buildslave/bot.py
    M slave/buildslave/commands/base.py
    M slave/buildslave/commands/bk.py
    M slave/buildslave/commands/transfer.py
    M slave/buildslave/commands/utils.py
    M slave/buildslave/monkeypatches/bug4881.py
    M slave/buildslave/runprocess.py
    M slave/buildslave/scripts/stop.py
    M slave/buildslave/test/unit/test_commands_utils.py
    M slave/buildslave/test/unit/test_runprocess.py
    M slave/buildslave/test/util/command.py

  Log Message:
  -----------
  Merge pull request #1227 from djmitche/bug2540

Replace bare excepts

Fixes ticket:2540


Compare: https://github.com/buildbot/buildbot/compare/915d683f4a26...707a35311822


More information about the Commits mailing list