[Sync] added workaround for python 2.5 bug causing sync test flakiness
[Sync] added workaround for python 2.5 bug causing sync test flakiness

Basically, the socket_map argument wasn't being passed down correctly,
meaning that if an xmpp connection was destroyed, it wouldn't be properly
removed from the socket_map, leading to a 'Bad file descriptor' error
the next time the (closed) fd is passed to select.

BUG=67051
TEST=sync integration tests

Review URL: http://codereview.chromium.org/5970005

git-svn-id: http://src.chromium.org/svn/trunk/src@69881 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: ea7db0844a0643ac59e5860caa606a6ed94512b3
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser