Buildbot版本:(0.8.10)

Bug:TypeError: 'NoneType' object has no attribute '__getitem__'

参考页面:http://trac.buildbot.net/ticket/3107?cversion=0&cnum_hist=3

 

修改文件slaves.py中出错部分的代码为

 

1         try:
2             max_builds = int(request.args.get('numbuilds', ['10'])[0])
3         except (TypeError, ValueError):
4             max_builds = 10

 

相关文章:

  • 2021-07-31
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-28
  • 2021-04-30
  • 2022-12-23
  • 2021-07-25
  • 2021-06-13
  • 2022-01-08
  • 2021-11-20
相关资源
相似解决方案