summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/cleanups/common.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-10-08 16:28:33 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-10-08 16:28:33 -0700
commit984a1b157990f42f8c57815f4b3c00f6455a114f (patch)
treeaa93850218baed26d9a4a7221faffb1789a473f3 /python/fatcat_tools/cleanups/common.py
parentb9279efacdee9bf8038203d6efe9dc105cc4dce3 (diff)
downloadfatcat-984a1b157990f42f8c57815f4b3c00f6455a114f.tar.gz
fatcat-984a1b157990f42f8c57815f4b3c00f6455a114f.zip
file cleanup tweaks to actually run
Diffstat (limited to 'python/fatcat_tools/cleanups/common.py')
-rw-r--r--python/fatcat_tools/cleanups/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/cleanups/common.py b/python/fatcat_tools/cleanups/common.py
index ad2ff858..47607cf1 100644
--- a/python/fatcat_tools/cleanups/common.py
+++ b/python/fatcat_tools/cleanups/common.py
@@ -39,7 +39,7 @@ class EntityCleaner:
self.entity_type = entity_type
self.dry_run_mode = kwargs.get('dry_run_mode', True)
self.edit_batch_size = kwargs.get('edit_batch_size', 50)
- self.editgroup_description = kwargs.get('editgroup_description')
+ self.editgroup_description = kwargs.get('editgroup_description', "Generic Entity Cleaner Bot")
self.editgroup_extra = eg_extra
self.reset()
self.ac = ApiClient()
@@ -93,7 +93,7 @@ class EntityCleaner:
if updated:
self.counts['updated'] += updated
self._edit_count += updated
- self._idents.inflight.append(entity.ident)
+ self._idents_inflight.append(entity.ident)
if self._edit_count >= self.edit_batch_size:
self.api.accept_editgroup(self._editgroup_id)