old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  """
  tools
  ------------------------------
  Tools for python Resel scripts
  
  """
  
  from network import is_valid_ip,is_valid_ip_main, ip_in_subnet, ip_in_subnet_main
  
  __docformat__ = 'restructuredtext en'
  
  # vim:set et sts=4 ts=4 tw=80:
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  """
  tools
  ------------------------------
  Tools for python Resel scripts
  
  """
  
  from network import is_valid_ip,is_valid_ip_main, ip_in_subnet, ip_in_subnet_main
  from utils import read_file
  __docformat__ = 'restructuredtext en'
  
  # vim:set et sts=4 ts=4 tw=80:
  
subject: add som doctest