equal
deleted
inserted
replaced
133 dayfirst=self.dayfirst, |
133 dayfirst=self.dayfirst, |
134 yearfirst=self.yearfirst) |
134 yearfirst=self.yearfirst) |
135 if value and value not in values: |
135 if value and value not in values: |
136 # avoid duplicates |
136 # avoid duplicates |
137 values.append(value) |
137 values.append(value) |
|
138 if values and attr in ('registrar', 'whois_server', 'referral_url'): |
|
139 values = values[-1] # ignore junk |
138 if len(values) == 1: |
140 if len(values) == 1: |
139 values = values[0] |
141 values = values[0] |
140 elif not values: |
142 elif not values: |
141 values = None |
143 values = None |
142 |
144 |