Remove unnecessary sync in Scheduler.py.
authorDavid James <davidjames@google.com>
Mon, 11 Apr 2011 19:00:39 +0000 (12:00 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 11 Apr 2011 19:00:39 +0000 (12:00 -0700)
commit1caaa48d23b1d39ee2e8e0632a08cceeba6a6b3a
tree341b7eb1ef147e95100a10cade5001ab3b42d3f1
parent7c398b8dc2eba2c4f1679ef5ee04cc5d6e37afb5
Remove unnecessary sync in Scheduler.py.

If we are passed a fakevartree object, it should already be sync'd, so
there is no need to sync it again here. This sync is only needed when
we create a new FakeVartree, so I moved the sync to the right place to
fix this.

BUG=chromium-os:14035
TEST=Build a bunch of packages with this patch.

Change-Id: I89d79cf946f4c0c27ad585ad7c88a41985260342

Review URL: http://codereview.chromium.org/6813084
pym/_emerge/Scheduler.py