Lines Matching defs:prefix
173 # the '__' prefix which means assignment will occur using the
784 # the '__' prefix which means assignment will occur using the
1204 def __init__(self, prefix, alias=None, catalog=None, client_uuid=None,
1225 # the '__' prefix which means assignment will occur using the
1230 self.prefix = prefix
1278 return self.prefix < other.prefix
1279 return self.prefix < other
1285 return self.prefix > other.prefix
1286 return self.prefix > other
1299 "prefix", "ssl_cert", "ssl_key")
1318 return self.prefix == other.prefix
1320 return self.prefix == other
1333 if key == "prefix":
1367 return self.prefix != other.prefix
1369 return self.prefix != other
1378 # a prefix may be used.
1478 def __set_prefix(self, prefix):
1479 if not misc.valid_pub_prefix(prefix):
1480 raise api_errors.BadPublisherPrefix(prefix)
1481 self.__prefix = prefix
1499 return self.prefix
1522 if self.prefix not in pubs:
1526 Unable to retrieve package data for publisher '{prefix}' from one
1533 """).format(origins="\n".join(str(o) for o in origins), prefix=self.prefix,
1541 """).format(self.prefix))
1547 publisher '{prefix}' using the pkg set-publisher subcommand, or re-add
1548 the publisher using the correct name and remove the '{prefix}'
1550 """).format(prefix=self.prefix))
1558 pkg unset-publisher {prefix}
1559 """).format(origin=origin, prefix=self.prefix, pub=list(pubs)[0]))
1578 """).format(self.prefix))
1843 pubs=[self.prefix]):
2011 raise api_errors.MismatchedCatalog(self.prefix)
2238 """Verify that the publisher's configuration (such as prefix)
2269 if self.prefix not in pubs:
2270 known = [p.prefix for p in pubs]
2273 known=known, unknown=[self.prefix],
2276 known=known, unknown=[self.prefix],
2962 prefix = property(lambda self: self.__prefix, __set_prefix,