Revision 471a31b6 lib/rapi/rlib2.py

b/lib/rapi/rlib2.py
952 952
    except KeyError:
953 953
      pass
954 954
    else:
955
      if not ht.TListOf(ht.TInt)(raw_disks): # pylint: disable-msg=E1102
955
      if not ht.TListOf(ht.TInt)(raw_disks): # pylint: disable=E1102
956 956
        # Backwards compatibility for strings of the format "1, 2, 3"
957 957
        try:
958 958
          data["disks"] = [int(part) for part in raw_disks.split(",")]

Also available in: Unified diff