old_contents: from . import AWSObject, AWSProperty, Tags
  from .validators import json_checker
  from .compat import policytypes
  
  
  class LifecyclePolicy(AWSProperty):
      props = {
          'LifecyclePolicyText': (basestring, False),
          'RegistryId': (basestring, False),
      }
  
  
  class Repository(AWSObject):
      resource_type = "AWS::ECR::Repository"
  
      props = {
          'ImageScanningConfiguration': (dict, False),
          'ImageTagMutability': (basestring, False),
          'LifecyclePolicy': (LifecyclePolicy, False),
          'RepositoryName': (basestring, False),
          'RepositoryPolicyText': (policytypes, False),
          'Tags': (Tags, False),
      }
  
new_contents: from . import AWSObject, AWSProperty, Tags
  from .compat import policytypes
  
  
  class LifecyclePolicy(AWSProperty):
      props = {
          'LifecyclePolicyText': (basestring, False),
          'RegistryId': (basestring, False),
      }
  
  
  class Repository(AWSObject):
      resource_type = "AWS::ECR::Repository"
  
      props = {
          'ImageScanningConfiguration': (dict, False),
          'ImageTagMutability': (basestring, False),
          'LifecyclePolicy': (LifecyclePolicy, False),
          'RepositoryName': (basestring, False),
          'RepositoryPolicyText': (policytypes, False),
          'Tags': (Tags, False),
      }
  
subject: Remove extraneous import