diff options
author | Scott Maxwell <scott@codecobblers.com> | 2013-10-31 16:19:11 -0700 |
---|---|---|
committer | Scott Maxwell <scott@codecobblers.com> | 2013-10-31 16:19:11 -0700 |
commit | d26bf3e63efea0002fd81c7579f2b37cc6c587c1 (patch) | |
tree | bdc2c5aed0df356104aa82327fc3acf9dc839e2e /paramiko/common.py | |
parent | 951e8cfd3a4d892cdaed82ce6b62803dcc001209 (diff) | |
download | paramiko-d26bf3e63efea0002fd81c7579f2b37cc6c587c1.tar.gz |
More type conversion
Diffstat (limited to 'paramiko/common.py')
-rw-r--r-- | paramiko/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/common.py b/paramiko/common.py index 9161f309..5d7ab313 100644 --- a/paramiko/common.py +++ b/paramiko/common.py @@ -140,7 +140,7 @@ else: def asbytes(s): - if not isinstance(s, bytes_type): + if not isinstance(s, bytes_types): if isinstance(s, string_types): s = b(s) else: |