i was getting NameError: cmp when running the logbook tests under python 3.3.