0012-misc-fix-invalid-str-returned-pylint-error-56288.patch
combo/apps/lingo/models.py | ||
---|---|---|
154 | 154 |
objects = PaymentBackendManager() |
155 | 155 | |
156 | 156 |
def __str__(self): |
157 |
return self.label
|
|
157 |
return str(self.label)
|
|
158 | 158 | |
159 | 159 |
@property |
160 | 160 |
def eopayment(self): |
... | ... | |
335 | 335 |
return (self.slug,) |
336 | 336 | |
337 | 337 |
def __str__(self): |
338 |
return self.label
|
|
338 |
return str(self.label)
|
|
339 | 339 | |
340 | 340 |
def get_text_on_success(self): |
341 | 341 |
if self.text_on_success: |
combo/apps/maps/models.py | ||
---|---|---|
160 | 160 |
super().save(*args, **kwargs) |
161 | 161 | |
162 | 162 |
def __str__(self): |
163 |
return self.label
|
|
163 |
return str(self.label)
|
|
164 | 164 | |
165 | 165 |
def natural_key(self): |
166 | 166 |
return (self.slug,) |
combo/apps/notifications/models.py | ||
---|---|---|
83 | 83 |
unique_together = (('user', 'external_id'),) |
84 | 84 | |
85 | 85 |
def __str__(self): |
86 |
return self.summary
|
|
86 |
return str(self.summary)
|
|
87 | 87 | |
88 | 88 |
@property |
89 | 89 |
def public_id(self): |
90 |
- |