summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/source/example-use-case.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/example-use-case.rst b/docs/source/example-use-case.rst
index 4efdc81..cd39c47 100644
--- a/docs/source/example-use-case.rst
+++ b/docs/source/example-use-case.rst
@@ -97,7 +97,7 @@ set on the key file):
from rsakey import RSAPrivateKey
# Read SSH key from file (assuming no passphrase)
- with open open('.ssh/id_rsa') as key_file:
+ with open('.ssh/id_rsa') as key_file:
b64_serialisation = ''.join(key_file.readlines()[1:-1])
# Undo BASE64 serialisation