Oh, thanks for catching.  That was not meant to be committed.  That record is broken in the db I was testing on.

> On Mar 20, 2014, at 6:53 PM, Greg Price <notifications@github.com> wrote:
> 
> In forums/clean_cs_users.py:
> 
> > +            sqlite_cx.commit()
> > +            logger.info("done loading lms_user data")
> > +            break
> > +        sqlite_cx.executemany(insert_sql, rows)
> > +        cnt += len(rows)
> > +        logger.info("loaded {} rows".format(cnt))
> > +
> > +def load_cs_users(mongo_db, sqlite_cx):
> > +    """
> > +    """
> > +    logger.info("beginning to load cs_user data...")
> > +    _drop_sqlite_table(sqlite_cx, 'cs_user')
> > +    sqlite_cx.execute("CREATE TABLE cs_user (external_id INTEGER, username TEXT, email TEXT, read_count INT)")
> > +    insert_sql = "INSERT INTO cs_user VALUES (?, ?, ?, ?)"
> > +    cnt = 0
> > +    for user in mongo_db.users.find({"_id": {"$ne": "2274413"}}, fields=['external_id', 'username', 'email', 'read_states']).sort([('_id', 1)]):
> Why is this id excluded?
> 
> —
> Reply to this email directly or view it on GitHub.