mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
code cleanup
This commit is contained in:
parent
38f7ef50db
commit
41bfa3991d
1 changed files with 0 additions and 13 deletions
|
@ -2402,19 +2402,6 @@ class PublicContactResource(resources.ModelResource):
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
# def import_row(self, row, instance_loader, using_transactions=True, dry_run=False, raise_errors=None, **kwargs):
|
|
||||||
# """Override kwargs skip_epp_save and set to True"""
|
|
||||||
# kwargs["skip_epp_save"] = True
|
|
||||||
# super().import_data()
|
|
||||||
# return super().import_row(
|
|
||||||
# row,
|
|
||||||
# instance_loader,
|
|
||||||
# using_transactions=using_transactions,
|
|
||||||
# dry_run=dry_run,
|
|
||||||
# raise_errors=raise_errors,
|
|
||||||
# **kwargs,
|
|
||||||
# )
|
|
||||||
|
|
||||||
def save_instance(self, instance, is_create, using_transactions=True, dry_run=False):
|
def save_instance(self, instance, is_create, using_transactions=True, dry_run=False):
|
||||||
"""Override save_instance setting skip_epp_save to True"""
|
"""Override save_instance setting skip_epp_save to True"""
|
||||||
self.before_save_instance(instance, using_transactions, dry_run)
|
self.before_save_instance(instance, using_transactions, dry_run)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue