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/preview/scanner.py

    r11303 r11683  
    88from xml.sax import make_parser, handler, saxutils, SAXParseException 
    99 
    10 from ..scheme.readwrite import parse_scheme 
     10from ..scheme.readwrite import scheme_load 
    1111log = logging.getLogger(__name__) 
    1212 
     
    7979    scheme = scheme.Scheme() 
    8080    errors = [] 
    81     parse_scheme(scheme, scheme_file, error_handler=errors.append) 
     81    scheme_load(scheme, scheme_file, error_handler=errors.append) 
    8282 
    8383    tmp_scene = scene.CanvasScene() 
Note: See TracChangeset for help on using the changeset viewer.