Revision e687ec01 lib/cli.py

b/lib/cli.py
728 728
                         type="keyval", default={},
729 729
                         help="Backend parameters")
730 730

  
731
HVOPTS_OPT =  cli_option("-H", "--hypervisor-parameters", type="keyval",
732
                         default={}, dest="hvparams",
733
                         help="Hypervisor parameters")
731
HVOPTS_OPT = cli_option("-H", "--hypervisor-parameters", type="keyval",
732
                        default={}, dest="hvparams",
733
                        help="Hypervisor parameters")
734 734

  
735 735
HYPERVISOR_OPT = cli_option("-H", "--hypervisor-parameters", dest="hypervisor",
736 736
                            help="Hypervisor and hypervisor options, in the"
......
2815 2815
  @return: a string with the formatted timestamp
2816 2816

  
2817 2817
  """
2818
  if not isinstance (ts, (tuple, list)) or len(ts) != 2:
2818
  if not isinstance(ts, (tuple, list)) or len(ts) != 2:
2819 2819
    return "?"
2820 2820
  sec, usec = ts
2821 2821
  return time.strftime("%F %T", time.localtime(sec)) + ".%06d" % usec

Also available in: Unified diff