#2185: GerritChangeSource: owner email can be missing
--------------------+-----------------------
Reporter:  sanxiyn  |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.5    |   Keywords:  gerrit
--------------------+-----------------------
 I got:

 {{{
 Traceback (most recent call last):
   File "/home/tinuviel/buildbot/master/gerritchangesource.py", line 125,
 in eventReceived_patchset_created
     author="%s <%s>" % (change["owner"]["name"],
 change["owner"]["email"]),
 exceptions.KeyError: 'email'
 }}}

 In general, as you can read at [http://gerrit-
 documentation.googlecode.com/svn/Documentation/2.2.2/json.html Gerrit
 documentation], "any field may be missing in the JSON messages, so
 consumers of this JSON stream should deal with that appropriately".

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2185>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to