hrm.  i'll take a few minutes to see how that goes with prod-size user sets.


On Fri, Mar 21, 2014 at 11:09 AM, e0d <notifications@github.com> wrote:

> In forums/clean_cs_users.py:
>
> > +FETCHMANY_SIZE=10000
> > +
> > +logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s: %(message)s')
> > +logger = logging.getLogger('')
> > +
> > +JoinedUser = namedtuple('JoinedUser', 'cs_id cs_username cs_email cs_read_count lms_id lms_username lms_email')
> > +
> > +def _drop_sqlite_table(sqlite_cx, name):
> > +    """
> > +    """
> > +    try:
> > +        sqlite_cx.execute("DROP TABLE {}".format(name))
> > +    except sqlite3.OperationalError:
> > +        pass
> > +
> > +def load_lms_users(mysql_cx, sqlite_cx):
>
> Not a deal breaker, but wouldn't set operations just work?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-tools/pull/5/files#r10839269>
> .
>