[telepathy-logger-0.8] tools: Fix the build with Python 3
requested to merge debarshir/telepathy-logger:wip/rishi/telepathy-logger-0.8-fix-build-with-python3 into telepathy-logger-0.8
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.