+x is bit 0, not 2. :(

TBR=dpranke@chromium.org
BUG=
TEST=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@87844 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/patch.py b/patch.py
index 9c54924..a7eef3f 100644
--- a/patch.py
+++ b/patch.py
@@ -247,7 +247,7 @@
     if match:
       mode = match.group(1)
       # Only look at owner ACL for executable.
-      if bool(int(mode[4]) & 4):
+      if bool(int(mode[4]) & 1):
         self.svn_properties.append(('svn:executable', '*'))
 
     # Handle "--- "