diff options
author | Jörg Steffens <joerg.steffens@dass-it.de> | 2015-09-27 18:39:59 +0300 |
---|---|---|
committer | Jörg Steffens <joerg.steffens@dass-it.de> | 2015-09-27 18:39:59 +0300 |
commit | e95a4d3ca25e885301cb57ca097884e0b8b3ef31 (patch) | |
tree | 0924129a52bc11e42bf30c8d77064f95b1b44ff4 | |
parent | 54c03c0cb90d43f6e26d483114eaaf4dd1ca6439 (diff) |
fix example
-rw-r--r-- | README.rst | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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") ... |