Cope whether we're passed a time in seconds on the command line or via stdin

def humanTimeConverter():
  '''
  Cope whether we're passed a time in seconds on the command line or via stdin
  '''
  if len(sys.argv) == 2:
    print humanFriendlyTime(seconds=int(sys.argv[1]))
  else:
    for line in sys.stdin:
      print humanFriendlyTime(int(line))
      sys.exit(0)