Searched defs:open (Results 1 - 7 of 7) sorted by relevance

/pkg/src/modules/lint/
H A Dlog.py161 def open(self): member in class:LogFormatter
/pkg/src/tests/cli/
H A Dt_actuators.py34 from io import open namespace
247 open basics@1.0,5.11-0
252 open basics@1.1,5.11-0
257 open basics@1.2,5.11-0
262 open basics@1.3,5.11-0
267 open basics@1.4,5.11-0
272 open basics@1.5,5.11-0
278 open basics@1.6,5.11-0
284 open basics@1.7,5.11-0
289 open basic
[all...]
/pkg/src/modules/server/
H A Dtransaction.py124 """Used to indicate that a Transaction is already open for use."""
127 return _("Transaction ID '{0}' is already open.").format(
160 def open(self, rstore, client_release, pfmri): member in class:Transaction
210 # authorization above the basic "can open transactions".
250 tfile = open(tfpath, "a+")
264 # if we specified a release without branch, open next branch
265 # if we specified a release with branch major, open same
347 open(os.path.join(self.dir, "append"), "wb").close()
349 # copy in existing manifest, then open it for appending.
370 # client release on the initial open o
[all...]
H A Drepository.py1390 def open(self, client_release, pfmri): member in class:_RepoStore
1403 t.open(self, client_release, pfmri)
1851 with open(fd, "w", encoding="utf-8") as fp:
2012 gzf = PkgGzipFile(fileobj=open(path, "rb"))
2363 with open(pth, "rb") as f:
3028 nullf = open(os.devnull, "w")
3342 def open(self, client_release, pfmri, pub=None): member in class:Repository
3366 return rstore.open(client_release, pfmri)
3894 with open(filename) as igfd:
4308 with open(o
[all...]
/pkg/src/modules/publish/
H A Dtransaction.py184 def open(self): member in class:NullTransaction
192 return self.open()
331 with open(elf_name, "wb") as elf_file:
415 action.data = lambda: open(os.devnull, "rb")
575 with open(path, "w") as f:
616 def open(self): member in class:TransportTransaction
628 raise TransactionOperationError("open",
634 raise TransactionOperationError("open",
701 opening a Transaction. Required by: open.
704 returned by open
[all...]
/pkg/src/modules/
H A Dcpiofile.py94 self.fd = os.open(name, mode)
550 fileobj = open(self.name, self.mode)
596 # CpioFile class. The open() method is the only one that is needed for
605 def open(cls, name=None, mode="r", fileobj=None, bufsize=20*512): member in class:CpioFile
610 'r' open for reading with transparent compression
611 'r:' open for reading exclusively uncompressed
612 'r:gz' open for reading with gzip compression
613 'r:bz2' open for reading with bzip2 compression
614 'a' or 'a:' open for appending
615 'w' or 'w:' open fo
[all...]
H A Dsearch_storage.py51 migration and open is encountered.
78 fh = open(f, 'r')
183 file_handle = open(os.path.join(path, self._name), 'w')
204 def open(self, directory): member in class:IndexStoreBase
205 """This uses consistent open to ensure that the version line
367 self.open(use_dir)
590 self._file_handle = open(os.path.join(use_dir, self._name),

Completed in 57 milliseconds