~ubuntu-branches/ubuntu/quantal/gedit/quantal

« back to all changes in this revision

Viewing changes to plugins/externaltools/tools/capture.py

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-06-17 10:16:57 UTC
  • mfrom: (1.1.85 upstream)
  • Revision ID: james.westby@ubuntu.com-20110617101657-vn37sqlsm3lu3ykl
Tags: 3.0.5-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
            fcntl.fcntl(self.pipe.stdout.fileno(), fcntl.F_SETFL, flags)
102
102
 
103
103
            GObject.io_add_watch(self.pipe.stdout,
104
 
                                 GObject.IOCondition.IN | GObject.IOCondition.HUP,
 
104
                                 GObject.IO_IN | GObject.IO_HUP,
105
105
                                 self.on_output)
106
106
 
107
107
        if self.flags & self.CAPTURE_STDERR:
110
110
            fcntl.fcntl(self.pipe.stderr.fileno(), fcntl.F_SETFL, flags)
111
111
 
112
112
            GObject.io_add_watch(self.pipe.stderr,
113
 
                                 GObject.IOCondition.IN | GObject.IOCondition.HUP,
 
113
                                 GObject.IO_IN | GObject.IO_HUP,
114
114
                                 self.on_output)
115
115
 
116
116
        # IO