Files
deb-python-pygit2/src
W. Trevor King cce9f79905 config: return -1 on error in Config_foreach_callback_wrapper().
Config_foreach_callback_wrapper is supposed to return 0 on success.
From the docstring:

  As soon as one of the callbacks returns an integer other than 0,
  this function returns that value.

If we've already had an exception, we want to bail immediately and
raise the exception.

Signed-off-by: W. Trevor King <wking@tremily.us>
2012-10-25 14:15:15 -04:00
..
2012-09-08 15:19:03 +02:00