Skip to content

Commit

Permalink
do not print request body on Catalog.save() (#33)
Browse files Browse the repository at this point in the history
Catalog.save() may be used with UnsavedDataStore, and then request body contains password. And password is printed to stdout. If someone have to print or log object data, it can be done outside save().
  • Loading branch information
krych14m authored May 24, 2022
1 parent 4cc4a77 commit d00cb53
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/geoserver/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ def save(self, obj, content_type="application/xml"):
netloc = urlparse(self.service_url).netloc
rest_url = href._replace(netloc=netloc).geturl()
data = obj.message()
print(data)

headers = {
"Content-type": content_type,
Expand Down

0 comments on commit d00cb53

Please sign in to comment.