mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-14 08:24:50 +02:00
Bug fix
This commit is contained in:
parent
ba2994812f
commit
d5cdc624b2
2 changed files with 38 additions and 42 deletions
|
@ -963,7 +963,6 @@ class ExtraTransitionDomain:
|
||||||
# metadata about each file and associate it with an enum.
|
# metadata about each file and associate it with an enum.
|
||||||
# That way if we want the data located at the agency_adhoc file,
|
# That way if we want the data located at the agency_adhoc file,
|
||||||
# we can just call EnumFilenames.AGENCY_ADHOC.
|
# we can just call EnumFilenames.AGENCY_ADHOC.
|
||||||
if options.pattern_map_params is None or options.pattern_map_params == []:
|
|
||||||
options.pattern_map_params = [
|
options.pattern_map_params = [
|
||||||
(
|
(
|
||||||
EnumFilenames.AGENCY_ADHOC,
|
EnumFilenames.AGENCY_ADHOC,
|
||||||
|
|
|
@ -18,9 +18,6 @@ class TransitionDomainArguments:
|
||||||
# Maintains an internal kwargs list and sets values
|
# Maintains an internal kwargs list and sets values
|
||||||
# that match the class definition.
|
# that match the class definition.
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
self.pattern_map_params = []
|
|
||||||
if "self.pattern_map_params" in kwargs:
|
|
||||||
self.pattern_map_params = kwargs["pattern_map_params"]
|
|
||||||
self.kwargs = kwargs
|
self.kwargs = kwargs
|
||||||
for k, v in kwargs.items():
|
for k, v in kwargs.items():
|
||||||
if hasattr(self, k):
|
if hasattr(self, k):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue