/pkg/src/util/log-scripts/ |
H A D | config.py | 10 # or http://www.opensolaris.org/os/licensing. 27 import os namespace
|
H A D | an2_ip.py | 10 # or http://www.opensolaris.org/os/licensing. 30 import os namespace 37 ip_files = [ i for i in ip_files if os.path.exists(i) ]
|
/pkg/src/tests/api/ |
H A D | testutils.py | 10 # or http://www.opensolaris.org/os/licensing. 26 import os namespace 30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
|
H A D | t_solver.py | 10 # or http://www.opensolaris.org/os/licensing. 33 import os namespace
|
H A D | t_bootenv.py | 10 # or http://www.opensolaris.org/os/licensing. 31 import os namespace 72 del os.environ["PKG_NO_LIVE_ROOT"]
|
H A D | t_client.py | 11 # or http://www.opensolaris.org/os/licensing. 33 import os namespace
|
/pkg/src/tests/cli/ |
H A D | testutils.py | 10 # or http://www.opensolaris.org/os/licensing. 26 import os namespace 30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
|
H A D | t_pkg_version.py | 10 # or http://www.opensolaris.org/os/licensing. 31 import os namespace
|
H A D | t_pkg_modified.py | 10 # or http://www.opensolaris.org/os/licensing. 30 import os namespace 50 mfpath = os.path.join(api_inst.img.imgdir, "modified") 51 nmtime = os.stat(mfpath).st_mtime 63 mfpath = os.path.join(api_inst.img.imgdir, "modified") 67 omtime = os.stat(mfpath).st_mtime 190 os.remove(os.path.join(pub.meta_root, "last_refreshed"))
|
H A D | t_pkg_property.py | 10 # or http://www.opensolaris.org/os/licensing. 32 import os namespace
|
H A D | t_pkg_rebuild_index.py | 10 # or http://www.opensolaris.org/os/licensing. 30 import os namespace
|
/pkg/src/tests/testsuite/ |
H A D | testutils.py | 10 # or http://www.opensolaris.org/os/licensing. 26 import os namespace 30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
|
/pkg/src/modules/ |
H A D | pkgtarfile.py | 10 # or http://www.opensolaris.org/os/licensing. 27 import os namespace 71 os.path.join(path, tarinfo.linkname) 77 upperdirs = os.path.dirname(os.path.join(path, filename)) 79 if upperdirs and not os.path.exists(upperdirs): 90 os.makedirs(upperdirs, stat.S_IRWXU) 94 self._extract_member(tarinfo, os.path.join(
|
H A D | syscallat.py | 10 # or http://www.opensolaris.org/os/licensing. 28 import os namespace 46 raise OSError(ffi.errno, os.strerror(ffi.errno), path) 63 raise OSError(ffi.errno, os.strerror(ffi.errno), path) 81 raise OSError(ffi.errno, os.strerror(ffi.errno), old) 96 raise OSError(ffi.errno, os.strerror(ffi.errno), path)
|
H A D | p5i.py | 10 # or http://www.opensolaris.org/os/licensing. 27 import os namespace 69 location = os.path.abspath(location)
|
H A D | pspawn.py | 10 # or http://www.opensolaris.org/os/licensing. 28 import os namespace 35 raise OSError(rc, os.strerror(rc))
|
/pkg/src/modules/portable/ |
H A D | util.py | 10 # or http://www.opensolaris.org/os/licensing. 25 import os namespace 33 if os.name == 'posix': 35 elif os.name == 'mac': 38 elif os.name == 'nt': 75 release = os.uname()[2] 77 # Windows has no os.uname, and platform.release
|
/pkg/src/modules/lint/ |
H A D | config.py | 11 # or http://www.opensolaris.org/os/licensing. 30 import os namespace 89 [os.path.expanduser("~/.pkglintrc")])
|
/pkg/src/tests/ |
H A D | certgenerator.py | 10 # or http://www.opensolaris.org/os/licensing. 27 import os namespace 35 self.base_dir = os.path.abspath(base_dir) 38 self.cnf_file = os.path.join(self.base_dir, "openssl.cnf") 43 fh = open(os.path.join(self.base_dir, "index"), "w") 46 fh = open(os.path.join(self.base_dir, "serial"), "w") 58 self.keys_dir = os.path.join(self.base_dir, self.keys_loc) 59 self.cs_dir = os.path.join(self.base_dir, self.cs_loc) 60 self.chain_certs_dir = os.path.join(self.base_dir, 62 self.raw_trust_anchor_dir = os [all...] |
H A D | pkg5testenv.py | 10 # or http://www.opensolaris.org/os/licensing. 26 import os namespace 73 cmddir, cmdname = os.path.split(sys.argv[0]) 74 cmddir = os.path.realpath(cmddir) 76 if "ROOT" in os.environ: 77 pkg_path = os.environ["ROOT"] 88 pkg_path = os.path.realpath(pkg_path) 89 proto_area = os.path.realpath(proto_area) 91 pkgs = os.path.join(pkg_path, "usr/lib/python{0}/vendor-packages".format( 93 bins = os [all...] |
/pkg/src/modules/file_layout/ |
H A D | layout.py | 10 # or http://www.opensolaris.org/os/licensing. 61 import os namespace 87 return os.path.join(hashval[0:2], hashval[2:8], hashval) 91 return os.path.basename(path) 100 return os.path.join(hashval[0:2], hashval) 104 return os.path.basename(path)
|
/pkg/src/modules/flavor/ |
H A D | hardlink.py | 10 # or http://www.opensolaris.org/os/licensing. 27 import os namespace 35 base_names = [os.path.basename(path)] 36 paths = [os.path.dirname(path)]
|
H A D | script.py | 10 # or http://www.opensolaris.org/os/licensing. 27 import os namespace 54 base_names = [os.path.basename(path)] 55 paths = [os.path.dirname(path)] 94 if not os.path.isabs(p): 100 p = os.path.join("/usr", p[1:])
|
/pkg/src/modules/actions/ |
H A D | hardlink.py | 10 # or http://www.opensolaris.org/os/licensing. 34 import os namespace 54 # both need to be passed through os.path.normpath to ensure 59 target = os.path.normpath( 60 os.path.join(os.path.split(path)[0], target)) 62 target = os.path.normpath(target)[1:] 75 if not os.path.exists(os.path.dirname(path)): 76 self.makedirs(os [all...] |
/pkg/src/modules/client/ |
H A D | firmware.py | 10 # or http://www.opensolaris.org/os/licensing. 27 import os.path namespace 56 args = [os.path.join(firmware_dir, which)]
|