Skip to content

Commit d00cb53

Browse files
authored
do not print request body on Catalog.save() (#33)
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().
1 parent 4cc4a77 commit d00cb53

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/geoserver/catalog.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ def save(self, obj, content_type="application/xml"):
288288
netloc = urlparse(self.service_url).netloc
289289
rest_url = href._replace(netloc=netloc).geturl()
290290
data = obj.message()
291-
print(data)
292291

293292
headers = {
294293
"Content-type": content_type,

0 commit comments

Comments
 (0)