old_contents: #!/usr/bin/env python
  import subprocess
  
  if __name__ == '__main__':
  
      proc = subprocess.Popen(('df', '-hT', '.'), stdout=subprocess.PIPE)
      output = proc.stdout.read()
  
      line = output.split('\n')[1]
  
      while line.count('  '):
          line = line.replace('  ', ' ')
      
      parts = line.split(' ')
      print("%s Free on (%s) " % (parts[3], parts[1]))
      
  
new_contents: #!/usr/bin/env python
  import subprocess
  
  if __name__ == '__main__':
  
      proc = subprocess.Popen(('df', '-hT', '.'), stdout=subprocess.PIPE)
      output = proc.stdout.read()
  
      line = output.split('\n')[1]
  
      while line.count('  '):
          line = line.replace('  ', ' ')
      
      parts = line.split(' ')
      print("%s Free on (%s) " % (parts[4], parts[1]))
      
  
subject: make free space be right