old_contents: import json
  
  import foauth
  
  
  class Wordpress(foauth.providers.OAuth2):
      # General info about the provider
      provider_url = 'https://www.wordpress.com/'
      favicon_url = 'http://s2.wp.com/i/favicon.ico'
      docs_url = 'http://developer.wordpress.com/docs/api/'
  
      # URLs to interact with the API
      authorize_url = 'https://public-api.wordpress.com/oauth2/authorize'
      access_token_url = 'https://public-api.wordpress.com/oauth2/token'
      api_domain = 'public-api.wordpress.com'
  
      available_permissions = [
          (None, 'read and post to your blog'),
      ]
  
      def parse_token(self, content):
          data = json.loads(content)
          return data['access_token'], None
  
  
new_contents: import json
  
  import foauth.providers
  
  
  class Wordpress(foauth.providers.OAuth2):
      # General info about the provider
      provider_url = 'https://www.wordpress.com/'
      favicon_url = 'http://s2.wp.com/i/favicon.ico'
      docs_url = 'http://developer.wordpress.com/docs/api/'
  
      # URLs to interact with the API
      authorize_url = 'https://public-api.wordpress.com/oauth2/authorize'
      access_token_url = 'https://public-api.wordpress.com/oauth2/token'
      api_domain = 'public-api.wordpress.com'
  
      available_permissions = [
          (None, 'read and post to your blog'),
      ]
  
      def parse_token(self, content):
          data = json.loads(content)
          return data['access_token'], None
  
  
subject: Fix the import for Wordpress