Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Sep 27, 2015
1 parent 54c03c0 commit e95a4d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -14,7 +14,7 @@ calling bareos-director user agent commands
import bareos.bsock
password=bareos.bsock.Password("secret")
bsock=bareos.bsock.BSock(address="localhost", port=9001, password=password)
bsock=bareos.bsock.BSock(address="localhost", port=9101, password=password)
print bsock.call("help")
...
Expand All @@ -26,7 +26,7 @@ simple version of the bconsole in Python
import bareos.bsock
password=bareos.bsock.Password("secret")
bconsole=bareos.BSock(address="localhost", port=9001, password=password)
bconsole=bareos.BSock(address="localhost", port=9101, password=password)
bconsole.interactive()
...
Expand All @@ -39,7 +39,7 @@ Requires: bareos >= 15.2
import bareos.bsock
password=bareos.bsock.Password("secret")
bconsole=bareos.bsock.BSockJson(address="localhost", port=9001, password=password)
bconsole=bareos.bsock.BSockJson(address="localhost", port=9101, password=password)
bconsole.call("list pools")
...

0 comments on commit e95a4d3

Please sign in to comment.