'Write a single attribute type/value pair
attr_type
attribute type
attr_value
attribute value'

def _unparseAttrTypeandValue(self, attr_type, attr_value):

    if self._needs_base64_encoding(attr_type, attr_value):
        self._unfoldLDIFLine('::    '.join([attr_type, base64.encodestring(attr_value).replace('\n', '')]))
    else:
        self._unfoldLDIFLine(':    '.join([attr_type, attr_value]))
    return
