Rename local variable to highlight that it's specific to reference archive units
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 25 Aug 2016 09:58:24 +0200
changeset 1500 b3d5cdb9eff2
parent 1499 b4cf3e8c8d2e
child 1501 ac389c41589c
Rename local variable to highlight that it's specific to reference archive units
views/archiveunit.py
--- a/views/archiveunit.py	Thu Aug 25 17:53:52 2016 +0200
+++ b/views/archiveunit.py	Thu Aug 25 09:58:24 2016 +0200
@@ -126,9 +126,9 @@
         _('seda_au_data_objects_refs_tab'),
     ]
 
-au_pvs = copy_rtag(pvs, __name__,
-                   is_instance('SEDAArchiveUnit') & is_archive_unit_ref())
-au_pvs.tag_subject_of(
+au_ref_pvs = copy_rtag(pvs, __name__,
+                       is_instance('SEDAArchiveUnit') & is_archive_unit_ref())
+au_ref_pvs.tag_subject_of(
     ('SEDAArchiveUnit', 'seda_alt_archive_unit_archive_unit_ref_id', '*'),
     'attributes')
 rec.tag_subject_of(('SEDAArchiveUnit', 'seda_alt_archive_unit_archive_unit_ref_id', '*'),