from . import AWSObject
try:
    from awacs.aws import Policy
    policytypes = (dict, Policy)
except ImportError:
    policytypes = dict,

class Repository(AWSObject):
    resource_type = "AWS::ECR::Repository"

    props = {
        'RepositoryName': (basestring, False),
        'RepositoryPolicyText': (policytypes, False),
    }

@@ -133,16 +133,17 @@
  dict,%0A%0A
+%0A
 class Re

Make pep8 happy