Trees | Indices | Help |
---|
|
1 # 2 # Copyright (c) 2008--2015 Red Hat, Inc. 3 # 4 # This software is licensed to you under the GNU General Public License, 5 # version 2 (GPLv2). There is NO WARRANTY for this software, express or 6 # implied, including the implied warranties of MERCHANTABILITY or FITNESS 7 # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 8 # along with this software; if not, see 9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 10 # 11 # Red Hat trademarks are not licensed under GPLv2. No permission is 12 # granted to use or replicate Red Hat trademarks that are incorporated 13 # in this software or its documentation. 14 # 15 16 from spacewalk.satellite_tools import geniso 17 1819 -def create_isos(mountpoint, outdir, prefix, lower_limit=None, upper_limit=None, copy_iso_dir=None, iso_type=None):20 opts = ["--mountpoint=%s" % mountpoint, 21 "--file-prefix=%s" % prefix, 22 "--output=%s" % outdir, 23 "--type=%s" % iso_type] 24 25 if lower_limit is not None: 26 opts.append("-v%s-%s" % (lower_limit, upper_limit)) 27 28 if copy_iso_dir is not None: 29 opts.append("--copy-iso-dir=%s" % copy_iso_dir) 30 31 geniso.main(opts)32
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Mar 4 07:37:45 2020 | http://epydoc.sourceforge.net |