old_contents: """
  
      PTP library.
  
  """
  
  
  from libptp.tools.skipfish.skipfish import SkipfishReport
  import libptp.tools.skipfish.skipfish
  
  
  class PTP(object):
      """PTP class definition.
  
      Usage:
          ptp = PTP(tool_name)
          ptp.parse(path_to_report)
  
      """
  
      supported = {
          'skipfish': SkipfishReport,
          }
  
      def __init__(self, tool_name):
          if self._check_supported_tool(tool_name):
              self.tool_name = tool_name
          else:
              # TODO: Implement custom exception
              raise ValueError('Unsupported tool.')
  
      def _check_supported_tool(self, tool_name):
          return tool_name in self.supported.keys()
  
      def parse(self, path_to_report):
          self.report = self.supported[self.tool_name]()
          return self.report.parse(path_to_report)
  
      def get_highest_ranking(self):
          return self.report.get_highest_ranking()
  
new_contents: """
  
      PTP library.
  
  """
  
  
  from libptp.tools.skipfish.skipfish import SkipfishReport
  from libptp.tools.arachni.arachni import ArachniReport
  import libptp.tools.skipfish.skipfish
  
  
  class PTP(object):
      """PTP class definition.
  
      Usage:
          ptp = PTP(tool_name)
          ptp.parse(path_to_report)
  
      """
  
      supported = {
          'skipfish': SkipfishReport,
          'arachni': ArachniReport,
          }
  
      def __init__(self, tool_name):
          if self._check_supported_tool(tool_name):
              self.tool_name = tool_name
          else:
              # TODO: Implement custom exception
              raise ValueError('Unsupported tool.')
  
      def _check_supported_tool(self, tool_name):
          return tool_name in self.supported.keys()
  
      def parse(self, path_to_report=None, filename=None):
          self.report = self.supported[self.tool_name]()
          return self.report.parse(path_to_report, filename)
  
      def get_highest_ranking(self):
          return self.report.get_highest_ranking()
  
subject: Update ptp with the new arachni support.