~ubuntu-branches/ubuntu/hardy/mayavi2/hardy-backports

« back to all changes in this revision

Viewing changes to enthought.envisage/enthought/envisage/core/application.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-07-25 09:03:34 UTC
  • mfrom: (2.2.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080725090334-1hbb9fn8b3as5qy0
Tags: 2.2.0-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
588
588
        """
589
589
 
590
590
        return self.import_manager.import_symbol(symbol_path)
591
 
 
 
591
        
 
592
        
592
593
    def get_class(self, class_path):
593
594
        """ Returns the class defined by *class_path*.
594
595
 
711
712
            # fixme: Add the queueing handler to the root logger.
712
713
            add_log_queue_handler(root)
713
714
 
 
715
        # Make a stream handler that outputs exceptions to sys.stderr.
 
716
        handler = logging.StreamHandler()
 
717
        handler.level = logging.ERROR
 
718
        root.addHandler(handler)
 
719
 
714
720
        return
715
721
 
716
722
    def _initialize_state_location(self):