Ignore:
Timestamp:
09/03/13 14:53:58 (8 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Refactored scheme parsing.

Using widget description's "replaces" list to resolve widgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/application/canvasmain.py

    r11598 r11683  
    5151 
    5252from ..scheme import widgetsscheme 
    53 from ..scheme.readwrite import parse_scheme, sniff_version 
     53from ..scheme.readwrite import scheme_load, sniff_version 
    5454 
    5555from . import welcomedialog 
     
    952952        errors = [] 
    953953        try: 
    954             parse_scheme(new_scheme, open(filename, "rb"), 
    955                          error_handler=errors.append, 
    956                          allow_pickle_data=True) 
     954            scheme_load(new_scheme, open(filename, "rb"), 
     955                        error_handler=errors.append) 
     956 
    957957        except Exception: 
    958958            message_critical( 
Note: See TracChangeset for help on using the changeset viewer.