Permalink
Browse files

Remember what 'good' and 'bad' mean.

  • Loading branch information...
pablo-meier committed Sep 10, 2015
1 parent 7f846fb commit 8d1b4712cd6ba244cfcde4855fe05c900123a765
Showing with 3 additions and 3 deletions.
  1. +3 −3 apps/ghostlight_db/src/ghostlight_db_utils.erl
@@ -81,10 +81,10 @@ exec_batch(Batch, #db_state{connection=C,
end.

failures_from(Results) ->
lists:filter(fun good_result/1, Results).
lists:filter(fun bad_result/1, Results).

good_result({ok, _}) -> false;
good_result(_Else) -> true.
bad_result({ok, _}) -> false;
bad_result(_Else) -> true.


parse_person_or_org(Entity) ->

0 comments on commit 8d1b471

Please sign in to comment.