From f7b892905c62b94a6e54d115ee2d6d32d66af013 Mon Sep 17 00:00:00 2001 From: "Jeremy T. Bouse" Date: Fri, 27 Nov 2009 16:25:55 -0500 Subject: Imported Upstream version 1.7.6 Closes: #543784 --- docs/paramiko.buffered_pipe-pysrc.html | 46 +++++++++++++++++----------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'docs/paramiko.buffered_pipe-pysrc.html') diff --git a/docs/paramiko.buffered_pipe-pysrc.html b/docs/paramiko.buffered_pipe-pysrc.html index 4fed6e8..f19abc7 100644 --- a/docs/paramiko.buffered_pipe-pysrc.html +++ b/docs/paramiko.buffered_pipe-pysrc.html @@ -54,24 +54,24 @@

Source Code for Module paramiko.buffered_pipe

-  1  # Copyright (C) 2006-2007  Robey Pointer <robey@lag.net> 
-  2  # 
-  3  # This file is part of paramiko. 
-  4  # 
-  5  # Paramiko is free software; you can redistribute it and/or modify it under the 
-  6  # terms of the GNU Lesser General Public License as published by the Free 
-  7  # Software Foundation; either version 2.1 of the License, or (at your option) 
-  8  # any later version. 
-  9  # 
- 10  # Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY 
- 11  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 
- 12  # A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more 
- 13  # details. 
- 14  # 
- 15  # You should have received a copy of the GNU Lesser General Public License 
- 16  # along with Paramiko; if not, write to the Free Software Foundation, Inc., 
- 17  # 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA. 
- 18   
+  1  # Copyright (C) 2006-2007  Robey Pointer <robeypointer@gmail.com> 
+  2  # 
+  3  # This file is part of paramiko. 
+  4  # 
+  5  # Paramiko is free software; you can redistribute it and/or modify it under the 
+  6  # terms of the GNU Lesser General Public License as published by the Free 
+  7  # Software Foundation; either version 2.1 of the License, or (at your option) 
+  8  # any later version. 
+  9  # 
+ 10  # Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY 
+ 11  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 
+ 12  # A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more 
+ 13  # details. 
+ 14  # 
+ 15  # You should have received a copy of the GNU Lesser General Public License 
+ 16  # along with Paramiko; if not, write to the Free Software Foundation, Inc., 
+ 17  # 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA. 
+ 18   
  19  """ 
  20  Attempt to generalize the "feeder" part of a Channel: an object which can be 
  21  read from and closed, but is reading from a buffer fed by another thread.  The 
@@ -191,11 +191,11 @@ paramiko.pipe.WindowsPipe.set" class="py-name" href="#" onclick="return doclink(
 128                  if self._closed: 
 129                      return out 
 130                  # should we block? 
-131                  if timeout == 0.0: 
+131                  if timeout == 0.0: 
 132                      raise PipeTimeout() 
 133                  # loop here in case we get woken up but a different thread has 
-134                  # grabbed everything in the buffer. 
-135                  while (len(self._buffer) == 0) and not self._closed: 
+134                  # grabbed everything in the buffer. 
+135                  while (len(self._buffer) == 0) and not self._closed: 
 136                      then = time.time() 
 137                      self._cv.wait(timeout) 
 138                      if timeout is not None: 
@@ -204,7 +204,7 @@ paramiko.pipe.WindowsPipe.set" class="py-name" href="#" onclick="return doclink(
 141                              raise PipeTimeout() 
 142   
 143              # something's in the buffer and we have the lock! 
-144              if len(self._buffer) <= nbytes: 
+144              if len(self._buffer) <= nbytes: 
 145                  out = self._buffer.tostring() 
 146                  del self._buffer[:] 
 147                  if (self._event is not None) and not self._closed: 
@@ -301,7 +301,7 @@ expandto(location.href);