Remove crashing log on non-linux

This commit is contained in:
Florian Mounier
2014-04-25 11:19:56 +02:00
parent 8cf1f75224
commit 5330429b7a
2 changed files with 1 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '1.4.2'
__version__ = '1.4.3'
import os

View File

@@ -179,8 +179,6 @@ class TermWebSocket(Route, tornado.websocket.WebSocketHandler):
os.execvpe(args[0], args, env)
def communicate(self):
self.log.info('PTY forked : %s (%s)' % (
os.ttyname(self.fd), os.ctermid()))
fcntl.fcntl(self.fd, fcntl.F_SETFL, os.O_NONBLOCK)
def utf8_error(e):