diff options
Diffstat (limited to 'doc/source/cli/usage.rst')
-rw-r--r-- | doc/source/cli/usage.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/cli/usage.rst b/doc/source/cli/usage.rst index dbbad60..4bf2d38 100644 --- a/doc/source/cli/usage.rst +++ b/doc/source/cli/usage.rst @@ -45,14 +45,14 @@ Example: def random_password(length): sys_random = random.SystemRandom() - return u''.join( + return ''.join( sys_random.choice(string.ascii_letters + string.digits) for _ in range(length) ) barbican = client.Client(...) my_secret = barbican.secrets.create() - my_secret.name = u'Random plain text password' + my_secret.name = 'Random plain text password' my_secret.payload = random_password(24) my_secret_ref = my_secret.store() |