0005-trivial-fix-assignment-from-no-return-pylint-warning.patch
pylint.rc | ||
---|---|---|
8 | 8 |
disable= |
9 | 9 |
abstract-method, |
10 | 10 |
arguments-differ, |
11 |
assignment-from-no-return, |
|
12 | 11 |
attribute-defined-outside-init, |
13 | 12 |
broad-except, |
14 | 13 |
consider-using-dict-comprehension, |
wcs/formdef.py | ||
---|---|---|
405 | 405 |
# or if there are not yet any submitted forms |
406 | 406 |
if self.id is None or self.data_class().count() == 0: |
407 | 407 |
self.internal_identifier = new_internal_identifier |
408 |
t = StorableObject.store(self)
|
|
408 |
StorableObject.store(self) |
|
409 | 409 |
if get_publisher().snapshot_class: |
410 | 410 |
get_publisher().snapshot_class.snap(instance=self, comment=comment) |
411 | 411 |
if get_publisher().is_using_postgresql(): |
... | ... | |
413 | 413 | |
414 | 414 |
sql.do_formdef_tables(self, rebuild_views=True, rebuild_global_views=True) |
415 | 415 |
self.store_related_custom_views() |
416 |
return t |
|
417 | 416 | |
418 | 417 |
def store_related_custom_views(self): |
419 | 418 |
for view in getattr(self, '_custom_views', []): |
420 |
- |