summaryrefslogtreecommitdiff
path: root/designate/objects/rrdata_ptr.py
diff options
context:
space:
mode:
Diffstat (limited to 'designate/objects/rrdata_ptr.py')
-rw-r--r--designate/objects/rrdata_ptr.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/designate/objects/rrdata_ptr.py b/designate/objects/rrdata_ptr.py
index a3ae7e31..bb2564a4 100644
--- a/designate/objects/rrdata_ptr.py
+++ b/designate/objects/rrdata_ptr.py
@@ -28,10 +28,7 @@ class PTR(Record):
'ptrdname': fields.DomainField(maxLength=255)
}
- def _to_string(self):
- return self.ptrdname
-
- def _from_string(self, value):
+ def from_string(self, value):
self.ptrdname = value
# The record type is defined in the RFC. This will be used when the record