Google App Engine skip_files patch

Using skip_files in app.yaml as outlined in the docs causes an error (yaml.representer.RepresenterError: cannot represent an object).

There's a patch for it on the Google App Engine issue tracker.

Unfortunately, when I tried to apply the patch, I got an error (I'm assuming that the copy/paste from the support forums messed something up):

patching file /usr/local/google_appengine/google/appengine/api/
Hunk #1 FAILED at 288.
Hunk #2 FAILED at 303.
Hunk #3 FAILED at 325.
patch: **** malformed patch at line 43: class Type(Validator):

So I went through the patch file (it's short) and applied it manually.

To save you the trouble, here's the patched file (, 8KB, MD5:cc6bda4bb0ac1c561cf8056901ae3324).

Just replace the file at /usr/local/google_appengine/google/appengine/api/ with the one above and you should be hopping skipping files like no-one's business.

Update: Google released version 1.0.1 of the Google App Engine SDK yesterday. It fixes an important issue with "Resource temporarily unavailable" errors that I was also running into. However, it does not fix the issue mentioned here and upgrading will revert your copy of the file. So upgrade and then reapply the patch (or use the file here).