Changeset 9146:02f4319adf29 in orange


Ignore:
Timestamp:
10/29/11 20:08:21 (2 years ago)
Author:
markotoplak
Branch:
default
Convert:
bc80804f968f029249911e9977858d2b1ed50627
Message:

reverted some changes to fixes_changed_names.py on 20110316

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/fixes/fix_changed_names.py

    r9135 r9146  
    541541    def compile_pattern(self): 
    542542        self.PATTERN = build_pattern(self.mapping) 
    543         self._modules_to_change = [key.rsplit(".", 1)[0] for key in self.mapping.keys()] 
     543        #self._modules_to_change = [key.rsplit(".", 1)[0] for key in self.mapping.keys()] #reverted change from 20110316 
     544        self._modules_to_change = [key.split(".", 1)[0] for key in self.mapping.keys()] 
    544545        super(FixChangedNames, self).compile_pattern() 
    545546         
     
    564565        head = results.get("head") 
    565566        tail = results.get("tail") 
    566         module = ''.join(map(str, head)) 
     567        #module = '.'.join(map(str, head)) #reverted change from 20110316 
     568        module = head[0].value 
    567569 
    568570        if member and module in self._modules_to_change: 
Note: See TracChangeset for help on using the changeset viewer.