equal
deleted
inserted
replaced
2000 if inpart.mandatory and not ret: |
2000 if inpart.mandatory and not ret: |
2001 kwargs = {} |
2001 kwargs = {} |
2002 for key in ('namespace', 'key', 'new', 'old', 'ret'): |
2002 for key in ('namespace', 'key', 'new', 'old', 'ret'): |
2003 if key in inpart.params: |
2003 if key in inpart.params: |
2004 kwargs[key] = inpart.params[key] |
2004 kwargs[key] = inpart.params[key] |
2005 raise error.PushkeyFailed(partid=str(inpart.id), |
2005 raise error.PushkeyFailed(partid='%d' % inpart.id, |
2006 **pycompat.strkwargs(kwargs)) |
2006 **pycompat.strkwargs(kwargs)) |
2007 |
2007 |
2008 @parthandler('bookmarks') |
2008 @parthandler('bookmarks') |
2009 def handlebookmark(op, inpart): |
2009 def handlebookmark(op, inpart): |
2010 """transmit bookmark information |
2010 """transmit bookmark information |