X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-replicated;h=7aa8b893e144c769d3ebabc4186dde4b897ca446;hp=747c3347b3b566f238453e30a82e8d7366bae7b9;hb=156b158c5cab76917860e0ec362dab7678c1347a;hpb=55e275bd18e6a1bd949c5726db7321ed0ddcaa07 diff --git a/ud-replicated b/ud-replicated index 747c334..7aa8b89 100755 --- a/ud-replicated +++ b/ud-replicated @@ -88,7 +88,7 @@ def do_replicate(message): timestamp = message.get('timestamp', last_update) message = message.get('message', 'update required') LOG.debug("Got message at %s: %s" % (last_update, message)) - if last_run > timestamp, last_update): + if last_run > timestamp: return command = ['/usr/bin/ud-replicate']