Ignore:
Timestamp:
10/24/13 19:43:27 (6 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Removed explicit use of deprecated __get/set/delslice__ methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Data/OWMultiMergeData.py

    r11096 r11747  
    3333    """ 
    3434    if isinstance(model, PyListModel): 
    35         model.__delslice__(start, end) 
     35        del model[start: end] 
    3636    elif isinstance(model, QAbstractItemModel): 
    3737        model.removeRows(start, end-start) 
     
    9595            row = len(self) 
    9696             
    97         self.__setslice__(row, row, vars) 
     97        self[row: row] = vars 
    9898         
    9999        for i, data in enumerate(item_data): 
Note: See TracChangeset for help on using the changeset viewer.