| /pkg/src/util/log-scripts/ |
| H A D | in_header.py | 30 hostname = config.get("hostname", default="pkg") 62 <!--CSS file (default YUI Sam Skin) -->
|
| H A D | config.py | 32 def get(option, default=None): 35 value = cfg.get("default", option) 37 return default
|
| /pkg/src/modules/client/ |
| H A D | imageconfig.py | 55 # pkg(7) and their default values. Calls to the ImageConfig.get_policy method 67 BE_POLICY: "default", 69 CONTENT_UPDATE_POLICY: "default", 78 BE_POLICY: { "default": "create-backup" }, 79 CONTENT_UPDATE_POLICY: { "default": "always" }, 86 # Path default is intentionally relative for this case. 98 # Token used for default values. 108 # This dictionary defines the set of default properties and property 119 cfg.PropBool("display-coprights", default=True), 120 cfg.PropBool("require-optional", default 123 default=default_policies[FLUSH_CONTENT_CACHE]), variable in class:ImageConfig 125 default=default_policies[SEND_UUID]), variable in class:ImageConfig 151 default=str(REPO_REFRESH_SECONDS_DEFAULT), variable in class:ImageConfig 172 default=default_policies[BE_POLICY]), variable in class:ImageConfig 175 default=default_policies[CONTENT_UPDATE_POLICY]), variable in class:ImageConfig 177 default=default_policies[FLUSH_CONTENT_CACHE]), variable in class:ImageConfig 179 default=default_policies[MIRROR_DISCOVERY]), variable in class:ImageConfig 181 default=default_policies[SEND_UUID]), variable in class:ImageConfig 184 default=DEF_TOKEN), variable in class:ImageConfig 186 default=default_policies[USE_SYSTEM_REPO]), variable in class:ImageConfig 188 default=default_properties[CA_PATH]), variable in class:ImageConfig 190 default=DEF_TOKEN), variable in class:ImageConfig 193 default=default_policies[ variable in class:ImageConfig 244 default=DEF_TOKEN), variable in class:ImageConfig 261 default=str(REPO_REFRESH_SECONDS_DEFAULT), variable in class:ImageConfig [all...] |
| H A D | options.py | 191 opts_new[OUTPUT_FORMAT] = "default" 858 # v: the default value. valid values are: True/False, None, [], 0 879 (OUTPUT_FORMAT, None, ["default", "tsv"], {"type": ["null", "string"]}), 1333 """ Get the default value for a certain option 'opt' of a certain 1342 opt_name, default = o 1344 opt_name, default, dummy_valid_args = o 1346 opt_name, default, dummy_valid_args, dummy_schema = o 1348 return default 1387 avail_opt, default = o 1389 avail_opt, default, valid_arg [all...] |
| H A D | publisher.py | 3090 def __prop_pop(self, d, default): 3095 return self.__properties.pop(d, default)
|
| /pkg/src/tests/api/ |
| H A D | t_config.py | 61 p = propcls(propname, default=defval) 73 propcls, propname, default=badval) 84 p1 = propcls(p1name, default=p1def) 85 p2 = propcls(p2name, default=p2def) 94 p1 = propcls(p1name, default=p1def) 95 p2 = propcls(p2name, default=p2def) 105 p1 = propcls(propname, default=val) 231 # Verify default if no initial value provided. 272 # Verify default if no initial value provided. 285 "svc:/application/pkg/server:default", "") 1023 default="example.com"), variable in class:_TestConfigBase 1030 default="builtin"), variable in class:_TestConfigBase 1046 default=["builtin"]), variable in class:_TestConfigBase 1051 default="http://example.com/"), variable in class:_TestConfigBase 1054 default=["http://example.com/", "file:/example/path"]), variable in class:_TestConfigBase 1057 default="16fd2706-8baf-433b-82eb-8c7fada847da"), variable in class:_TestConfigBase [all...] |
| /pkg/src/svc/ |
| H A D | svc-pkg-sysrepo-cache | 31 FMRI=svc:/application/pkg/system-repository:default
|
| /pkg/src/modules/ |
| H A D | misc.py | 477 function which takes a string and displays it. If 'None' (the default), 509 'shortunit'. The default format prints, for example, '3.23 MB' """ 612 # "pkg.content-hash" is provided by default and doesn't 714 # "pkg.content-hash" is provided by default and doesn't 1043 def __init__(self, default=EmptyI): 1044 dict.__init__(self, default) 1052 def pop(self, item, default=None): 1058 def setdefault(self, item, default=None): 1131 def get(self, key, default=None): 1134 return self.__fgetdefault(self.__obj, key, default) [all...] |
| H A D | config.py | 226 def __init__(self, name, default="", value_map=misc.EmptyDict): 238 self.value = default 275 return self.__class__(self.name, default=self.value, 339 def __init__(self, name_pattern, allowed=None, default=None, 356 self.__default = default 362 default=self.__default, prop_type=self.__prop_type, 374 pargs["default"] = self.__default 395 def __init__(self, name, default=False, value_map=misc.EmptyDict): 396 Property.__init__(self, name, default=default, [all...] |
| H A D | facet.py | 317 return None, False # exclude by default 409 "default" not in kwargs) 412 # check if the user specified a default value 415 elif "default" in kwargs: 416 return kwargs["default"] 436 def setdefault(self, item, default=None): 438 self[item] = default
|
| H A D | manifest.py | 1402 def get(self, key, default): 1406 return default 1408 def getbool(self, key, default): 1411 ret = self.get(key, default).lower() 1926 def get(self, key, default): 1930 return default
|
| H A D | catalog.py | 126 indent=None, separators=None, encoding='utf-8', default=None, **kw): 130 default=default, **kw).iterencode(obj, 1393 save()). By default this value is False. If this value is 2063 should be returned. The default is set(('C',)) if not provided. 2440 should be returned. The default is set(('C',)) if not provided. 2488 should be returned. The default is set(('C',)) if not provided. 2586 should be returned. The default is set(('C',)) if not provided. 2717 should be returned. The default is set(('C',)) if not provided. 2798 should be returned. The default i [all...] |
| /pkg/src/util/apache2/depot/ |
| H A D | depot_index.py | 257 In the server-side WSGI environment, apart from the default WSGI 415 def default(self, *tokens, **params): member in class:WsgiDepot 416 """ Our default handler is here to make sure we've called 444 return dh.default(*tokens[theme_index:]) 684 We use this, because the default dispatcher in CherryPy seems to dislike 685 trying to have an exposed "default" method (the special method name used 686 by CherryPy in its default dispatcher to handle unmapped resources) as 687 well as trying to serve resources named "default", a common name for 700 """This function is registered as the default error page 735 request.error_page["default"] [all...] |
| /pkg/src/modules/client/transport/ |
| H A D | fileobj.py | 257 def getheader(self, hdr, default): 259 isn't present, return default value instead.""" 264 return self.__headers.get(hdr.lower(), default)
|
| /pkg/src/modules/server/ |
| H A D | depot.py | 259 cherrypy.config.update({'error_page.default': 284 """This function is registered as the default error page 287 identical to the default CherryPy message format.""" 410 def default(self, *tokens, **params): member in class:DepotHTTP 658 # to set the timeout higher since the default is five minutes; not 732 # set the timeout higher since the default is five minutes; not really 1079 # set the timeout higher since the default is five minutes; not really 2166 # This dictionary defines the set of default properties and property 2185 "stdout", "none", "<pathname>"], default="stderr"), 2188 default variable in class:DepotConfig 2194 default=indexer.SORT_FILE_MAX_SIZE, variable in class:DepotConfig 2209 default="web/_themes/pkg-block-icon.png"), variable in class:DepotConfig 2211 default="web/_themes/pkg-block-logo.png"), variable in class:DepotConfig 2213 default="package repository feed"), variable in class:DepotConfig [all...] |
| H A D | repository.py | 198 return _("This operation requires that a default publisher has " 250 completed as not default publisher has been set and one was not 256 "default publisher has not been configured.") 310 return _("No publisher was specified or no default " 903 # Reset versions to default. 2700 # Don't create the default file root at this point, but 2701 # set its default location if it exists. 2749 # If a default publisher is set, ensure that a storage 2811 # Ensure default configuration is written. 2917 # Ignore the file root if it's the default on 4187 default="package repository"), variable in class:RepositoryConfig 4196 default="package repository feed"), variable in class:RepositoryConfig 4199 default="web/_themes/pkg-block-icon.png"), variable in class:RepositoryConfig 4201 default="web/_themes/pkg-block-logo.png"), variable in class:RepositoryConfig 4220 default="package repository"), variable in class:RepositoryConfig 4229 default="package repository feed"), variable in class:RepositoryConfig 4232 default="web/_themes/pkg-block-icon.png"), variable in class:RepositoryConfig 4234 default="web/_themes/pkg-block-logo.png"), variable in class:RepositoryConfig 4245 default="/etc/certs/CA/"), variable in class:RepositoryConfig [all...] |
| /pkg/src/modules/client/linkedimage/ |
| H A D | common.py | 1362 default), all children will be listed. If it's an empty list 1432 # Make sure our parent image is at it's default path. (We 1758 # Make sure our current image is at it's default path. (We 3649 def default(self, obj): member in class:PkgEncoder 3650 """Required routine that overrides the default base 3664 return json.JSONEncoder.default(self, obj)
|
| /pkg/src/tests/cli/ |
| H A D | t_pkgdep.py | 800 contains a file with a non-default version of python.""" 864 depend fmri={dummy_fmri} {pfx}.file=python{default} {pfx}.path=usr/bin {pfx}.reason=usr/lib/python{other}/vendor-packages/pkg/client/indexer.py {pfx}.type=script type=require 865 """.format(default=py_ver_default, other=py_ver_other, pfx=base.Dependency.DEPEND_DEBUG_PREFIX, dummy_fmri=base.Dependency.DUMMY_FMRI)
|