'translate port name before storing it'

@serial.Serial.port.setter
def port(self, value):

    if (isinstance(value, basestring) and value.startswith('hwgrep://')):
        serial.Serial.port.__set__(self, self.from_url(value))
    else:
        serial.Serial.port.__set__(self, value)
