Skip to content

Commit

Permalink
doc: fix incorrect auth examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanpm committed Jun 16, 2019
1 parent 867017e commit ea210fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Usage Example
from pubtools.pulplib import Client

# Make a client pointing at this Pulp server
client = Client(url='https://pulp.example.com/', user='admin', password='admin')
client = Client(url='https://pulp.example.com/', auth=('admin', 'some-password'))

# Get a particular repo by ID.
# All methods return Future instances; .result() blocks
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ the desired methods to perform actions on Pulp.
from pubtools.pulplib import Client
# Make a client pointing at this Pulp server
client = Client(url='https://pulp.example.com/', user='admin', password='admin')
client = Client(url='https://pulp.example.com/', auth=('admin', 'some-password'))
# Get a particular repo by ID.
# All methods return Future instances; .result() blocks
Expand Down

0 comments on commit ea210fa

Please sign in to comment.