Going through inotify code: * Fixing a minor bug when something goes wrong in client.querystatus * removing two redundant 'value or []' expressions * using try..except..else to simplify query retry code Nicolas.