Ignore:
Timestamp:
11/27/12 15:13:04 (17 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Added option to output pretty xml, removed contexts from the saved ows files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/scheme/scheme.py

    r11199 r11204  
    401401        self.annotation_removed.emit(annotation) 
    402402 
    403     def save_to(self, stream): 
     403    def save_to(self, stream, pretty=True): 
    404404        """Save the scheme as an xml formated file to `stream` 
    405405        """ 
     
    407407            stream = open(stream, "wb") 
    408408 
    409         scheme_to_ows_stream(self, stream) 
     409        scheme_to_ows_stream(self, stream, pretty) 
    410410 
    411411    def load_from(self, stream): 
Note: See TracChangeset for help on using the changeset viewer.