3 new revisions:

Revision: e91687dd7c6b
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Thu Aug  1 08:02:27 2013
Log:      Fixed indent and a typo in comment
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=e91687dd7c6b

Revision: 30200418ee50
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Thu Aug  1 08:03:38 2013
Log:      Tidied up client check for existing remote dir
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=30200418ee50

Revision: 8487b4ae59f1
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Thu Aug  1 08:04:02 2013
Log:      Paramiko: Don't look for keys if authenticating with credentials
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=8487b4ae59f1

==============================================================================
Revision: e91687dd7c6b
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Thu Aug  1 08:02:27 2013
Log:      Fixed indent and a typo in comment

http://code.google.com/p/robotframework-sshlibrary/source/detail?r=e91687dd7c6b

Modified:
 /src/SSHLibrary/javaclient.py

=======================================
--- /src/SSHLibrary/javaclient.py       Thu Aug  1 05:10:34 2013
+++ /src/SSHLibrary/javaclient.py       Thu Aug  1 08:02:27 2013
@@ -43,12 +43,13 @@

     def _login_with_public_key(self, username, keyfile, password):
         try:
-            success = self.client.authenticateWithPublicKey(
-                            username, File(keyfile), password)
+            success = self.client.authenticateWithPublicKey(username,
+                                                            File(keyfile),
+                                                            password)
             if not success:
                 raise SSHClientException
         except IOError:
-            # IOError is raised also when key file is invalid
+            # IOError is raised also when the keyfile is invalid
             raise SSHClientException

     def close(self):

==============================================================================
Revision: 30200418ee50
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Thu Aug  1 08:03:38 2013
Log:      Tidied up client check for existing remote dir

http://code.google.com/p/robotframework-sshlibrary/source/detail?r=30200418ee50

Modified:
 /src/SSHLibrary/javaclient.py
 /src/SSHLibrary/pythonclient.py

=======================================
--- /src/SSHLibrary/javaclient.py       Thu Aug  1 08:02:27 2013
+++ /src/SSHLibrary/javaclient.py       Thu Aug  1 08:03:38 2013
@@ -97,8 +97,7 @@
             self._client.stat(path)
         except SFTPException:
             return False
-        else:
-            return True
+        return True

     def listfiles(self, path):
         return [finfo.filename for finfo in self._client.ls(path)
=======================================
--- /src/SSHLibrary/pythonclient.py     Thu Aug  1 05:10:34 2013
+++ /src/SSHLibrary/pythonclient.py     Thu Aug  1 08:03:38 2013
@@ -113,8 +113,7 @@
             if e[0] == 2:
                 return False
             raise
-        else:
-            return True
+        return True

     def listfiles(self, path):
         return [getattr(fileinfo, 'filename', '?') for fileinfo

==============================================================================
Revision: 8487b4ae59f1
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Thu Aug  1 08:04:02 2013
Log:      Paramiko: Don't look for keys if authenticating with credentials

http://code.google.com/p/robotframework-sshlibrary/source/detail?r=8487b4ae59f1

Modified:
 /src/SSHLibrary/pythonclient.py

=======================================
--- /src/SSHLibrary/pythonclient.py     Thu Aug  1 08:03:38 2013
+++ /src/SSHLibrary/pythonclient.py     Thu Aug  1 08:04:02 2013
@@ -64,7 +64,8 @@
         return client

     def _login(self, username, password):
-        self.client.connect(self.host, self.port, username, password)
+        self.client.connect(self.host, self.port, username, password,
+                            look_for_keys=False)

     def _login_with_public_key(self, username, keyfile, password):
         try:

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to