Convert seconds to something more human-friendly

def humanTime(seconds):
  '''
  Convert seconds to something more human-friendly
  '''
  intervals = ['days', 'hours', 'minutes', 'seconds']
  x = deltaTime(seconds=seconds)
  return ' '.join('{} {}'.format(getattr(x, k), k) for k in intervals if getattr(x, k))