]> thyrsus.com Git - ssh-installkeys.git/commitdiff
Remove comments.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 22 Nov 2002 11:30:01 +0000 (11:30 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 22 Nov 2002 11:30:01 +0000 (11:30 +0000)
ssh-installkeys

index ba19567efd44e337ed53bfdad833c4b255da7742..52de85ffb0a3a2f574c34479c4af557f3d6eb3ac 100755 (executable)
@@ -46,8 +46,8 @@ License: Python Software Foundation License
 
 Noah Spurrier
 
-$Revision: 1.1 $
-$Date: 2002/11/22 11:26:34 $
+$Revision: 1.2 $
+$Date: 2002/11/22 11:27:39 $
 """
 import os, sys
 import select
@@ -68,7 +68,7 @@ A critical module was not found. Probably this OS does not support it.
 Currently pexpect is intended for UNIX operating systems (including OS-X)."""
 
 __version__ = '0.94'
-__revision__ = '$Revision: 1.1 $'
+__revision__ = '$Revision: 1.2 $'
 __all__ = ['ExceptionPexpect', 'EOF', 'TIMEOUT', 'spawn',
     '__version__', '__revision__']
 
@@ -390,26 +390,6 @@ class spawn:
             self.match = None
             raise
             
-#    def expect_eof(self, timeout = None):
-#        """This reads from the child until the end of file is found.
-#        A timeout exception may be thrown.
-#        """
-#        if timeout is None: 
-#            timeout = self.timeout
-#
-#        incoming = ''
-#        self.match = self.matched = None
-#        try:
-#            while 1:
-#                c = self.read(1, timeout)
-#                incoming = incoming + c
-#        except EOF:
-#            self.before = incoming
-#            return 0
-#        except:  # save incoming data (usefull for debugging)
-#            self.before = incoming
-#            raise
-
     def read(self, n, timeout = None):
         """This reads up to n characters from the child application.
         It includes a timeout. If the read does not complete within the
@@ -603,20 +583,6 @@ class spawn:
                     break
 
 
-##    def send_human(self, text, delay_min = 0, delay_max = 1):
-##        pass
-##    def spawn2(self, command, args):
-##        """return pid, fd_stdio, fd_stderr
-##        """
-##        pass
-##    def expect_ex(self, string_match, local_timeout = None):
-##        """This is like expect(), except that instead of regular expression patterns
-##        it matches on exact strings.
-##        """
-##        pass
-##        # Return (data_read)
-
-
 def which (filename):
     """This takes a given filename and tries to find it in the
     environment path and check if it is executable.