Ensure we only generate unique barcodes
authorDan Scott <dscott@laurentian.ca>
Fri, 13 Jul 2012 15:20:15 +0000 (11:20 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Nov 2012 17:58:02 +0000 (12:58 -0500)
commitb1337fec4c12e16cfb60ef11b8a65002faafc916
tree5dc71ca63320e2eca08684fb7a32108c7cc5c5ee
parent5456990c001a6afda068d152a2b28610b04e481f
Ensure we only generate unique barcodes

Rather than looping over existing barcodes only when we update the
patron account, let's not return duplicate barcodes in the first place,
mmmkay?

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_sync