Skip to content

Commit 4ab419a

Browse files
committed
don't return, update docstring
1 parent 3b3b6d8 commit 4ab419a

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

irods/manager/zone_manager.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@ def remove(self, zone_name):
4343
logger.debug(response.int_info)
4444

4545
def modify(self, zone_name, attribute, value):
46-
"""
47-
Modify a zone attribute.
48-
49-
Returns:
50-
The modified zone.
51-
"""
46+
"""Modify a zone attribute."""
5247
if attribute == "connection":
5348
attribute = "conn" # server expects this string
5449
message_body = GeneralAdminRequest("modify", "zone", zone_name, attribute, value)
@@ -57,4 +52,3 @@ def modify(self, zone_name, attribute, value):
5752
conn.send(request)
5853
response = conn.recv()
5954
logger.debug(response.int_info)
60-
return self.get(zone_name)

0 commit comments

Comments
 (0)