You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2022/05/18 11:08:40 UTC

[libcloud] 01/09: Use tuple, not a list.

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 0ac17ff5a770142cb1433a9ef4f019e5a6a605b2
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun May 15 20:52:22 2022 +0200

    Use tuple, not a list.
---
 libcloud/compute/ssh.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcloud/compute/ssh.py b/libcloud/compute/ssh.py
index bf264dc72..8dc1cbd02 100644
--- a/libcloud/compute/ssh.py
+++ b/libcloud/compute/ssh.py
@@ -33,7 +33,7 @@ try:
 
     PARAMIKO_VERSION_TUPLE = tuple([int(x) for x in paramiko.__version__.split(".")])
 except ImportError:
-    PARAMIKO_VERSION_TUPLE = []
+    PARAMIKO_VERSION_TUPLE = ()
 
 # Depending on your version of Paramiko, it may cause a deprecation
 # warning on Python 2.6.