from google.appengine.ext import vendor

# Add any libraries install in the "lib" folder.
vendor.add('lib')

from google.appengine.ext import vendor

import os

# Add any libraries install in the "lib" folder.
vendor.add(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'lib'))

Use new-style method of setting module path
Use new-style method of setting module path

  from google.appengine.ext import vendor
  
+ import os
+ 
  # Add any libraries install in the "lib" folder.
- vendor.add('lib')
+ vendor.add(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'lib'))
  
Use new-style method of setting module path
## Code Before:
from google.appengine.ext import vendor

# Add any libraries install in the "lib" folder.
vendor.add('lib')

## Instruction:
Use new-style method of setting module path
## Code After:
from google.appengine.ext import vendor

import os

# Add any libraries install in the "lib" folder.
vendor.add(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'lib'))
