'Run sync code, which should complete before XMLRPC timeout.  We can\'t
do reposync this way.  Would be nice to send output over AJAX/other
later.'

def sync(self, token):

    self._log('sync', token=token)
    self.check_access(token, 'sync')
    self.api.sync()
    return True
