From e95a4d3ca25e885301cb57ca097884e0b8b3ef31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Steffens?= Date: Sun, 27 Sep 2015 17:39:59 +0200 Subject: fix example --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 382a961..b2dd929 100644 --- a/README.rst +++ b/README.rst @@ -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") ... @@ -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() ... @@ -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") ... -- cgit v1.2.3