def update():
    delicious = DeliciousClient(settings.DELICIOUS_USERNAME, settings.DELICIOUS_PASSWORD)

    # Check to see if we need an update
    last_update_date = Item.objects.get_last_update_of_model(Bookmark)
    last_post_date = utils.parsedate(delicious.posts.update().get("time"))
    if last_post_date <= last_update_date:
        log.info("Skipping update: last update date: %s; last post date: %s", last_update_date, last_post_date)
        return

    for datenode in reversed(list(delicious.posts.dates().getiterator('date'))):
        dt = utils.parsedate(datenode.get("date"))
        if last_update_date > dt:
            log.debug("There is a record indicating bookmarks have been added after our last update")
            _update_bookmarks_from_date(delicious, dt)

#
# Private API
#
dataset/ETHPy150Open jacobian-archive/jellyroll/src/jellyroll/providers/delicious.py/update/swapped operands of `>`