old_contents: from google.appengine.ext import vendor
  
  # Add any libraries installed in the "lib" folder.
  vendor.add('lib')
  
new_contents: import os.path
  
  from google.appengine.ext import vendor
  
  # Add any libraries installed in the "lib" folder.
  vendor.add('lib')
  
  # Patch os.path.expanduser. This should be fixed in GAE
  # versions released after Nov 2016.
  os.path.expanduser = lambda path: path
  
subject: Add appengine workaround for oauth (#628)