Lines Matching defs:name
18 # information: Portions Copyright [yyyy] [name of copyright owner]
76 return self.name
85 def policy_factory(name, *args, **kwargs):
86 """Given the name of a policy, return a new policy object of
89 assert name in Policy._policies
90 return Policy._policies[name](*args, **kwargs)
98 name = "ignore"
109 Policy._policies[Ignore.name] = Ignore
117 name = "verify"
128 Policy._policies[Verify.name] = Verify
135 name = "require-signatures"
154 Policy._policies[RequireSigs.name] = RequireSigs
163 name = "require-names"
165 assert req_names, "RequireNames requires at least one name " \
197 Policy._policies[RequireNames.name] = RequireNames