title: How to migrate my app.yaml to 2.7?
body: <p>I'm migrating my gae app to python 2.7. This is my new app.yaml:</p>
  
  <pre><code>application: webfaze
  version: main
  runtime: python27
  api_version: 1
  threadsafe: true
  
  handlers:
  - url: /mapreduce(/.*)?
    script: mapreduce/main.application
  
  - url: /(.*\.(html|css|js|gif|jpg|png|ico|swf))
    static_files: static/\1
    upload: static/.*
    expiration: "1d"
  
  - url: .*
    script: main.application
  
  - url: /task/.*
    script: main.application
    login: admin
  </code></pre>
  
  <p>But I get this error message:</p>
  
  <pre><code>Error parsing yaml file:
  Invalid object:
  threadsafe cannot be enabled with CGI handler: mapreduce/main.application
    in "webfaze/app.yaml", line 22, column 1
  </code></pre>
  
  <p>Can you tell me how to resolve the error?</p>