Changeset 7559:b22824e78c94 in orange


Ignore:
Timestamp:
02/04/11 22:46:41 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
2d8f7666bb8e38eb3d0c0f461c3e8c58bae87120
Message:
  • minor bugfix
Location:
orange/fixes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/fixes/fix_changed_names.py

    r7545 r7559  
    394394            head = head[0] 
    395395             
     396            old_name = module + "." + node.value 
     397            if old_name not in self.mapping: 
     398                return 
     399              
    396400            new_name = unicode(self.mapping[module + "." + node.value]) 
    397401             
  • orange/fixes/fix_changed_names_aggressive.py

    r7554 r7559  
    2727module_names = set(["'%s'" % key.split(".", 1)[0] for key in MAPPING.keys()]) 
    2828from_import_pattern = from_import_pattern % "|".join(module_names) 
    29 print from_import_pattern 
    3029 
    3130from_import_expr = patcomp.compile_pattern(from_import_pattern) 
Note: See TracChangeset for help on using the changeset viewer.