Revert r102783 "Support for |change| argument to |GetPreferredTrySlaves()|."

Cause an infinite recursion in some context.

TBR=asvitkine@chromium.org
BUG=
TEST=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@102836 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_cl.py b/git_cl.py
index 9946999..cb33488 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -488,7 +488,8 @@
       self.SetPatchset(0)
     self.has_issue = False
 
-  def GetChange(self, upstream_branch, author):
+  def RunHook(self, committing, upstream_branch, may_prompt, verbose, author):
+    """Calls sys.exit() if the hook fails; returns a HookResults otherwise."""
     root = RunCommand(['git', 'rev-parse', '--show-cdup']).strip() or '.'
     absroot = os.path.abspath(root)
 
@@ -510,7 +511,7 @@
 
     if not author:
       author = RunGit(['config', 'user.email']).strip() or None
-    return presubmit_support.GitChange(
+    change = presubmit_support.GitChange(
         name,
         description,
         absroot,
@@ -519,10 +520,6 @@
         patchset,
         author)
 
-  def RunHook(self, committing, upstream_branch, may_prompt, verbose, author):
-    """Calls sys.exit() if the hook fails; returns a HookResults otherwise."""
-    change = self.GetChange(upstream_branch, author)
-
     # Apply watchlists on upload.
     if not committing:
       watchlist = watchlists.Watchlists(change.RepositoryRoot())