Skip to content

Commit

Permalink
Merge pull request #228 from nccgroup/bugfix/python2-super-call
Browse files Browse the repository at this point in the history
Fixed the super() call to work with python2
  • Loading branch information
zer0x64 committed Mar 7, 2019
2 parents 4f1264c + 979ac13 commit 78aa117
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ScoutSuite/providers/aws/configs/regions.py
Expand Up @@ -260,7 +260,7 @@ class RegionConfig(BaseConfig):
"""

def __init__(self, region_name, resource_types=None, **kwargs):
super().__init__(**kwargs)
super(RegionConfig, self).__init__(**kwargs)
resource_types = {} if resource_types is None else resource_types
self.region = region_name
self.name = region_name
Expand Down
2 changes: 1 addition & 1 deletion ScoutSuite/providers/aws/configs/services.py
Expand Up @@ -53,7 +53,7 @@ class AWSServicesConfig(BaseServicesConfig):

def __init__(self, metadata=None, thread_config=4, **kwargs):

super().__init__(metadata, thread_config)
super(AWSServicesConfig, self).__init__(metadata, thread_config)
self.cloudformation = CloudFormationConfig(metadata['management']['cloudformation'], thread_config)
self.cloudtrail = CloudTrailConfig(metadata['management']['cloudtrail'], thread_config)
self.cloudwatch = CloudWatchConfig(metadata['management']['cloudwatch'], thread_config)
Expand Down

0 comments on commit 78aa117

Please sign in to comment.