old_contents: #!/usr/bin/python
  # coding=utf-8
  
  from hosts import Hosts
  from rs import RS
  from shards import Shards
  
  
  def set_storage(storage_path, bin_path=''):
      Hosts().set_settings(storage_path, bin_path)
      RS().set_settings(storage_path, bin_path)
      Shards().set_settings(storage_path, bin_path)
  
  
  def cleanup_storage():
      Shards().cleanup()
      RS().cleanup()
      Hosts().cleanup()
  
new_contents: #!/usr/bin/python
  # coding=utf-8
  
  from lib.hosts import Hosts
  from lib.rs import RS
  from lib.shards import Shards
  
  
  def set_storage(storage_path, bin_path=''):
      Hosts().set_settings(storage_path, bin_path)
      RS().set_settings(storage_path, bin_path)
      Shards().set_settings(storage_path, bin_path)
  
  
  def cleanup_storage():
      Shards().cleanup()
      RS().cleanup()
      Hosts().cleanup()
  
subject: use "from package.module import something" convention instead of "from module import something"