Compare commits

...

7 Commits

Author SHA1 Message Date
William Douglas 96b366e71f Don't blacklist the update target directory
This is shipped by the filesystem package.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-04-29 12:39:38 -07:00
Brett T. Warden 84097fd526 Don't alter a list we're iterating through
Fix a couple of places where we're trying to remove files from the files
list while we're iterating through it -- replicate the change elsewhere
to keep a temporary list of the files to remove, then iterate through
*that* list after iterating through the global files list.
2024-04-24 10:59:16 -07:00
William Douglas c2cd51b5f2 Have vendor.py also update the options.conf file
This file is used for spec and upstream content so updating it is
important for improving the build automation.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-04-18 13:55:36 -07:00
Arjan van de Ven ed1ef58d9a update packages 2024-04-17 01:23:14 +00:00
Arjan van de Ven 497f2a66f4 update packages 2024-03-15 20:03:14 +00:00
William Douglas 3b8d3c66ea Remove echo on koji tag/untag
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-03-12 15:34:16 -07:00
William Douglas 373cbad44c Add koji-tag and koji-untag targets
Add koji-tag and koji-untag targets that can be used to tag and untag
dist-clear on the current nvr build of the package in koji.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-03-12 15:31:04 -07:00
5 changed files with 100 additions and 42 deletions
+11
View File
@@ -391,6 +391,17 @@ koji-waitrepo: kojidef
koji wait-repo --build=${SRPMVERS} ${WAIT_OPTS} ${KOJI_TAG}-build; \ koji wait-repo --build=${SRPMVERS} ${WAIT_OPTS} ${KOJI_TAG}-build; \
fi fi
.PHONY: koji-tag
#help koji-tag: runs koji tag-pkg on what's in the current specfile's nvr
koji-tag:
koji tag-pkg dist-clear $(SRPMVERS)
.PHONY: koji-untag
#help koji-untag: runs koji untag-pkg on what's in the current specfile's nvr
koji-untag:
koji untag-pkg dist-clear $(SRPMVERS)
update-versions: update-versions:
.PHONY: update .PHONY: update
-1
View File
@@ -2,4 +2,3 @@
/usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service /usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service
/usr/lib/systemd/system/sysinit.target.wants/systemd-hwdb-update.service /usr/lib/systemd/system/sysinit.target.wants/systemd-hwdb-update.service
/usr/lib/systemd/system/sysinit.target.wants/systemd-update-done.service /usr/lib/systemd/system/sysinit.target.wants/systemd-update-done.service
/usr/lib/systemd/system/update-triggers.target.wants
+68 -39
View File
@@ -43,6 +43,7 @@ OpenSP
PDAL PDAL
PyMySQL PyMySQL
PyQt5 PyQt5
PyQt6
PySocks PySocks
PyYAML PyYAML
QAT-ZSTD-Plugin QAT-ZSTD-Plugin
@@ -1046,6 +1047,7 @@ SuiteSparse
TLP TLP
Thunar Thunar
UCD UCD
UxPlay
VTK VTK
Vc Vc
Vulkan-Headers Vulkan-Headers
@@ -1099,8 +1101,8 @@ ark
armadillo armadillo
arp-scan arp-scan
arpack-ng arpack-ng
artikulate
asciidoc asciidoc
asciidoctor
asciinema asciinema
asio asio
aspell aspell
@@ -1216,7 +1218,6 @@ calendarsupport
can-utils can-utils
cantarell-fonts cantarell-fonts
cantata cantata
cantor
capnproto capnproto
capslock capslock
capstone capstone
@@ -1293,8 +1294,10 @@ collectl
colm colm
colord colord
colord-gtk colord-gtk
colord-kde
colordiff colordiff
columbiad columbiad
compat-Botan-soname2
compat-atkmm-soname16 compat-atkmm-soname16
compat-babeltrace-one compat-babeltrace-one
compat-cairomm-soname10 compat-cairomm-soname10
@@ -1309,6 +1312,7 @@ compat-gnome-bluetooth-soname-13
compat-gtksourceview-soname3 compat-gtksourceview-soname3
compat-json-c-soname4 compat-json-c-soname4
compat-libffi-soname6 compat-libffi-soname6
compat-libffi-soname7
compat-libpng-soname12 compat-libpng-soname12
compat-libsigc++-soname20 compat-libsigc++-soname20
compat-libsoup-soname-24 compat-libsoup-soname-24
@@ -1322,6 +1326,7 @@ compat-readline-soname5
compat-taglib-soname1 compat-taglib-soname1
compat-tbb-soname2 compat-tbb-soname2
compat-tiff-soname5 compat-tiff-soname5
compat-wlroots-soname11
component component
compose compose
configobj configobj
@@ -1390,6 +1395,7 @@ directx-headers
direwolf direwolf
dist-pam-configs dist-pam-configs
dkms dkms
dlib
dlt-daemon dlt-daemon
dmap2gcode dmap2gcode
dmenu dmenu
@@ -1421,13 +1427,13 @@ dragonbox
drkonqi drkonqi
dropwatch dropwatch
dssi dssi
dstat
dtc dtc
duktape duktape
dunst dunst
duperemove duperemove
dvisvgm dvisvgm
dwarves dwarves
dymo-cups-drivers
dyskctl dyskctl
e2fsprogs e2fsprogs
earlyoom earlyoom
@@ -1464,7 +1470,7 @@ evolution-data-server
evolution-ews evolution-ews
evtest evtest
exempi exempi
exfat-utils exfatprogs
exiv2 exiv2
exo exo
expat expat
@@ -1478,9 +1484,11 @@ fann
farstream farstream
faultstat faultstat
fcgi fcgi
fdk-aac
fdupes fdupes
feh feh
fetchmail fetchmail
ffmpegthumbs
fftw fftw
file file
file-roller file-roller
@@ -1494,6 +1502,7 @@ fish
flac flac
flare-engine flare-engine
flare-game flare-game
flatpack-kcm
flatpak flatpak
flatpak-builder flatpak-builder
fldigi fldigi
@@ -1572,6 +1581,7 @@ gimp
girara girara
git git
git-gui git-gui
git-lfs
gitg gitg
gitolite gitolite
gjs gjs
@@ -1699,6 +1709,7 @@ gtk3
gtk4 gtk4
gtkmm2 gtkmm2
gtkmm3 gtkmm3
gtkmm4
gtksourceview gtksourceview
gtksourceview4 gtksourceview4
gtkspell3 gtkspell3
@@ -1707,7 +1718,6 @@ guile
gutenprint gutenprint
gvfs gvfs
gvim gvim
gwenview
gzip gzip
hamlib hamlib
haproxy haproxy
@@ -1724,6 +1734,7 @@ hexedit
hicolor-icon-theme hicolor-icon-theme
hiredis-c hiredis-c
hostname hostname
howdy
hplip hplip
htop htop
htslib htslib
@@ -1767,6 +1778,7 @@ inkscape
innoextract innoextract
inotify-tools inotify-tools
input-leap input-leap
input-remapper
intel-cmt-cat intel-cmt-cat
intel-gmmlib intel-gmmlib
intel-hybrid-driver intel-hybrid-driver
@@ -1817,10 +1829,9 @@ json-glib
jsoncpp jsoncpp
juk juk
kaccounts-integration kaccounts-integration
kactivities
kactivities-stats
kactivitymanagerd kactivitymanagerd
kalarm kalarm
kalgebra
kamera kamera
kanagram kanagram
kapidox kapidox
@@ -1834,7 +1845,6 @@ kbackup
kbd kbd
kblackbox kblackbox
kblocks kblocks
kblog
kbookmarks kbookmarks
kbounce kbounce
kbreakout kbreakout
@@ -1848,6 +1858,7 @@ kcmutils
kcodecs kcodecs
kcolorchooser kcolorchooser
kcolorpicker kcolorpicker
kcolorscheme
kcompletion kcompletion
kconfig kconfig
kconfigwidgets kconfigwidgets
@@ -1869,27 +1880,24 @@ kded
kdeedu-data kdeedu-data
kdegraphics-mobipocket kdegraphics-mobipocket
kdegraphics-thumbnailers kdegraphics-thumbnailers
kdelibs4support
kdenetwork-filesharing kdenetwork-filesharing
kdenlive kdenlive
kdepim-runtime kdepim-runtime
kdeplasma-addons kdeplasma-addons
kdesdk-kioslaves kdesdk-kio
kdesdk-thumbnailers kdesdk-thumbnailers
kdesignerplugin
kdesu kdesu
kdf kdf
kdiagram kdiagram
kdialog kdialog
kdiamond kdiamond
kdiff3
kdnssd kdnssd
kdoctools kdoctools
kdsoap kdsoap
kdsoap-ws-discovery-client
keditbookmarks keditbookmarks
keepalived keepalived
keepassxc keepassxc
kemoticons
kernel-config kernel-config
kernel-install kernel-install
kexec-tools kexec-tools
@@ -1897,26 +1905,24 @@ keychain
keyutils keyutils
kfilemetadata kfilemetadata
kfind kfind
kfloppy
kfourinline kfourinline
kgamma5 kgamma
kgeography kgeography
kget kget
kglobalaccel kglobalaccel
kglobalacceld
kgoldrunner kgoldrunner
kgpg
kguiaddons kguiaddons
khangman khangman
khelpcenter khelpcenter
kholidays kholidays
khotkeys
khtml
ki18n ki18n
kicad kicad
kicad-packages3D kicad-packages3D
kiconthemes kiconthemes
kidentitymanagement kidentitymanagement
kidletime kidletime
kig
kigo kigo
killbots killbots
kimageannotator kimageannotator
@@ -1924,19 +1930,21 @@ kimageformats
kimagemapeditor kimagemapeditor
kimap kimap
kinfocenter kinfocenter
kinit
kio kio
kio-admin kio-admin
kio-extras kio-extras
kio-zeroconf
kirigami
kirigami-addons kirigami-addons
kirigami-gallery
kirigami2 kirigami2
kiriki
kitemmodels kitemmodels
kitemviews kitemviews
kiten kiten
kitinerary kitinerary
kjobwidgets kjobwidgets
kjs kjs
kjsembed
kjumpingcube kjumpingcube
kldap kldap
kleopatra kleopatra
@@ -1949,7 +1957,6 @@ kmail
kmail-account-wizard kmail-account-wizard
kmailtransport kmailtransport
kmbox kmbox
kmediaplayer
kmenuedit kmenuedit
kmime kmime
kmines kmines
@@ -1961,6 +1968,7 @@ knack
knavalbattle knavalbattle
knetwalk knetwalk
knewstuff knewstuff
knights
knotes knotes
knotifications knotifications
knotifyconfig knotifyconfig
@@ -1968,6 +1976,7 @@ koji
kolf kolf
kollision kollision
kolourpaint kolourpaint
kompare
konqueror konqueror
konquest konquest
konsole konsole
@@ -1988,10 +1997,8 @@ krb5
krdc krdc
kreversi kreversi
kronosnet kronosnet
kross
kruler kruler
krunner krunner
krusader
ksanecore ksanecore
kscreen kscreen
kscreenlocker kscreenlocker
@@ -2004,18 +2011,18 @@ ksnakeduel
kspaceduel kspaceduel
ksquares ksquares
ksshaskpass ksshaskpass
kstars kstatusnotifieritem
ksudoku ksudoku
ksysguard ksvg
ksystemlog ksystemlog
ksystemstats ksystemstats
kteatime kteatime
ktextaddons ktextaddons
ktexteditor ktexteditor
ktexttemplate
ktextwidgets ktextwidgets
ktimer ktimer
ktnef ktnef
ktp-desktop-applets
ktuberling ktuberling
kturtle kturtle
kubernetes kubernetes
@@ -2026,7 +2033,6 @@ kwallet
kwallet-pam kwallet-pam
kwalletmanager kwalletmanager
kwayland kwayland
kwayland-integration
kwayland-server kwayland-server
kwidgetsaddons kwidgetsaddons
kwin kwin
@@ -2034,11 +2040,9 @@ kwindowsystem
kwordquiz kwordquiz
kwrited kwrited
kxmlgui kxmlgui
kxmlrpcclient
kyotocabinet kyotocabinet
ladspa_sdk ladspa_sdk
latencytop latencytop
latte-dock
layer-shell-qt layer-shell-qt
lcms2 lcms2
lcov lcov
@@ -2085,6 +2089,7 @@ libatomic_ops
libavif libavif
libavtp libavtp
libb64 libb64
libbacktrace
libblockdev libblockdev
libbpf libbpf
libbsd libbsd
@@ -2189,7 +2194,6 @@ libkdepim
libkeduvocdocument libkeduvocdocument
libkexiv2 libkexiv2
libkgapi libkgapi
libkipi
libkleo libkleo
libkmahjongg libkmahjongg
libkomparediff2 libkomparediff2
@@ -2212,6 +2216,7 @@ libmodplug
libmodulemd libmodulemd
libmpack libmpack
libmpack-lua libmpack-lua
libmsgraph
libmspack libmspack
libmspub libmspub
libmtp libmtp
@@ -2248,6 +2253,8 @@ libpeas
libpinyin libpinyin
libpipeline libpipeline
libplacebo libplacebo
libplasma
libplist
libpng libpng
libportal libportal
libproxy libproxy
@@ -2289,6 +2296,7 @@ libspatialite
libspectre libspectre
libspiro libspiro
libspnav libspnav
libspng
libsrtp libsrtp
libssh libssh
libssh2 libssh2
@@ -2382,7 +2390,6 @@ lm-sensors
lmdb lmdb
logrotate logrotate
logutils logutils
lokalize
lpeg lpeg
lsacpi lsacpi
lshw lshw
@@ -2438,7 +2445,6 @@ meson
messagelib messagelib
meta-c-basic meta-c-basic
meta-desktop-gnome meta-desktop-gnome
meta-desktop-kde
meta-os-core meta-os-core
meta-os-core-plus meta-os-core-plus
metacity metacity
@@ -2451,6 +2457,7 @@ micro-config-drive-aws
micro-config-drive-equinix micro-config-drive-equinix
micro-config-drive-oci micro-config-drive-oci
milou milou
mimetreeparser
minetest minetest
minetest_game minetest_game
mingw-binutils mingw-binutils
@@ -2528,6 +2535,7 @@ net-tools
netaddr netaddr
netbase netbase
netcdf netcdf
netcdf-fortran
netdata netdata
nethogs nethogs
netplan netplan
@@ -2585,7 +2593,6 @@ ocamlbuild
ocl-icd ocl-icd
octave octave
oiio oiio
okteta
okular okular
oneDPL oneDPL
oneVPL oneVPL
@@ -2599,6 +2606,7 @@ open-vm-tools
openal-soft openal-soft
openblas openblas
openbox openbox
opencl-clang
opencl-headers opencl-headers
openconnect openconnect
openct openct
@@ -2628,7 +2636,7 @@ osm-gps-map
ostree ostree
otp otp
oxygen oxygen
oxygen-icons5 oxygen-icons
oxygen-sounds oxygen-sounds
p11-kit p11-kit
p7zip p7zip
@@ -2637,6 +2645,7 @@ pagemon
paho.mqtt.c paho.mqtt.c
paho.mqtt.cpp paho.mqtt.cpp
palapeli palapeli
pam-python
pam_wrapper pam_wrapper
pandas pandas
pandoc pandoc
@@ -3234,6 +3243,7 @@ perl-Plack
perl-Pod-Constants perl-Pod-Constants
perl-Pod-Coverage perl-Pod-Coverage
perl-Pod-LaTeX perl-Pod-LaTeX
perl-Pod-Markdown
perl-Pod-POM perl-Pod-POM
perl-Pod-Parser perl-Pod-Parser
perl-Pod-Plainer perl-Pod-Plainer
@@ -3349,6 +3359,7 @@ perl-Test-File-ShareDir-Dist
perl-Test-Fork perl-Test-Fork
perl-Test-Future-IO-Impl perl-Test-Future-IO-Impl
perl-Test-Identity perl-Test-Identity
perl-Test-InDistDir
perl-Test-Inter perl-Test-Inter
perl-Test-LWP-UserAgent perl-Test-LWP-UserAgent
perl-Test-LeakTrace perl-Test-LeakTrace
@@ -3417,6 +3428,8 @@ perl-Text-Trim
perl-Text-Unidecode perl-Text-Unidecode
perl-Text-WrapI18N perl-Text-WrapI18N
perl-Text-Wrapper perl-Text-Wrapper
perl-Throwable
perl-Throwable-SugarFactory
perl-Tie-Cycle perl-Tie-Cycle
perl-Tie-IxHash perl-Tie-IxHash
perl-Tie-Simple perl-Tie-Simple
@@ -3577,18 +3590,23 @@ pipewire
pixman pixman
pkcs11-helper pkcs11-helper
pkg-config pkg-config
plasma-activities
plasma-activities-stats
plasma-browser-integration plasma-browser-integration
plasma-desktop plasma-desktop
plasma-discover plasma-discover
plasma-framework plasma-disks
plasma-firewall
plasma-integration plasma-integration
plasma-nm plasma-nm
plasma-pa plasma-pa
plasma-systemmonitor plasma-systemmonitor
plasma-vault plasma-vault
plasma-wayland-protocols plasma-wayland-protocols
plasma-welcome
plasma-workspace plasma-workspace
plasma-workspace-wallpapers plasma-workspace-wallpapers
plasma5support
plzip plzip
pm-graph pm-graph
pmdk pmdk
@@ -3600,6 +3618,7 @@ podman
polkit polkit
polkit-kde-agent polkit-kde-agent
polkit-qt polkit-qt
polkit-qt6
poppler poppler
poppler-data-clr-rename poppler-data-clr-rename
popt popt
@@ -3633,7 +3652,9 @@ psstop
pth pth
pugixml pugixml
pulseaudio pulseaudio
pulseaudio-qt
purpose purpose
puzzles
pv pv
pwgen pwgen
pyatspi pyatspi
@@ -3760,6 +3781,7 @@ pypi-certifi
pypi-cffi pypi-cffi
pypi-cffsubr pypi-cffsubr
pypi-cfgv pypi-cfgv
pypi-chai
pypi-chaospy pypi-chaospy
pypi-chardet pypi-chardet
pypi-charset_normalizer pypi-charset_normalizer
@@ -3854,6 +3876,8 @@ pypi-docopt
pypi-docstring_parser pypi-docstring_parser
pypi-docstring_to_markdown pypi-docstring_to_markdown
pypi-docutils pypi-docutils
pypi-doxypypy
pypi-doxyqml
pypi-dpcontracts pypi-dpcontracts
pypi-dulwich pypi-dulwich
pypi-ecdsa pypi-ecdsa
@@ -3954,6 +3978,7 @@ pypi-hatch_requirements_txt
pypi-hatch_vcs pypi-hatch_vcs
pypi-hatchling pypi-hatchling
pypi-heapdict pypi-heapdict
pypi-hishel
pypi-hjson pypi-hjson
pypi-hkp4py pypi-hkp4py
pypi-home_assistant_frontend pypi-home_assistant_frontend
@@ -4152,6 +4177,7 @@ pypi-nocasedict
pypi-nocaselist pypi-nocaselist
pypi-nodeenv pypi-nodeenv
pypi-notebook_shim pypi-notebook_shim
pypi-numexpr
pypi-numpoly pypi-numpoly
pypi-numpy pypi-numpy
pypi-numpydoc pypi-numpydoc
@@ -4189,6 +4215,7 @@ pypi-pathlib2
pypi-pathspec pypi-pathspec
pypi-patsy pypi-patsy
pypi-pbr pypi-pbr
pypi-pbs_installer
pypi-pdfminer.six pypi-pdfminer.six
pypi-pdm pypi-pdm
pypi-pdm_backend pypi-pdm_backend
@@ -4271,6 +4298,7 @@ pypi-pycups
pypi-pycurl pypi-pycurl
pypi-pydantic pypi-pydantic
pypi-pydantic_core pypi-pydantic_core
pypi-pydbus
pypi-pydispatcher pypi-pydispatcher
pypi-pydocstyle pypi-pydocstyle
pypi-pydot pypi-pydot
@@ -4279,6 +4307,7 @@ pypi-pyelftools
pypi-pyfakefs pypi-pyfakefs
pypi-pyflakes pypi-pyflakes
pypi-pygame pypi-pygame
pypi-pygdbmi
pypi-pygithub pypi-pygithub
pypi-pygments pypi-pygments
pypi-pyicu pypi-pyicu
@@ -4505,6 +4534,7 @@ pypi-sqlalchemy
pypi-sqlparse pypi-sqlparse
pypi-sshtunnel pypi-sshtunnel
pypi-stack_data pypi-stack_data
pypi-starlette
pypi-storops pypi-storops
pypi-strictyaml pypi-strictyaml
pypi-subprocess_tee pypi-subprocess_tee
@@ -4597,6 +4627,7 @@ pypi-urlobject
pypi-urwid pypi-urwid
pypi-user_agents pypi-user_agents
pypi-userpath pypi-userpath
pypi-uvicorn
pypi-uvloop pypi-uvloop
pypi-venusian pypi-venusian
pypi-verboselogs pypi-verboselogs
@@ -4706,6 +4737,7 @@ qbittorrent
qca qca
qca-qt5 qca-qt5
qcoro qcoro
qcoro6
qemu qemu
qemu-guest-additions qemu-guest-additions
qgit qgit
@@ -4823,7 +4855,6 @@ rlwrap
rng-tools rng-tools
robin-map robin-map
roboto roboto
rocs
rofi rofi
rpcbind rpcbind
rpcsvc-proto rpcsvc-proto
@@ -4868,6 +4899,7 @@ serf
setserial setserial
setxkbmap setxkbmap
sg3_utils sg3_utils
shaderc
shadow shadow
shapelib shapelib
shared-mime-info shared-mime-info
@@ -5033,10 +5065,8 @@ usb-modeswitch
usb-modeswitch-data usb-modeswitch-data
usbredir usbredir
usbutils usbutils
user-manager
userspace-rcu userspace-rcu
usrbinjava usrbinjava
usrbinpython
usrbinvi usrbinvi
utf8proc utf8proc
utfcpp utfcpp
@@ -5200,7 +5230,6 @@ zabbix
zathura zathura
zathura-pdf-poppler zathura-pdf-poppler
zenity zenity
zeroconf-ioslave
zimg zimg
zip zip
zlib zlib
+6 -2
View File
@@ -98,9 +98,13 @@ def zap_entire_file_end(filename):
global files global files
global files_chunks global files_chunks
global files_header global files_header
files_to_remove = list()
for file in files: for file in files:
if file.endswith(filename): if file.endswith(filename):
files.remove(file) # Don't modify the original list while iterating over it
files_to_remove.append(file)
for file in files_to_remove:
files.remove(file)
def zap_line_in_file_substring(filename, match): def zap_line_in_file_substring(filename, match):
global header global header
@@ -186,7 +190,7 @@ def zap_empty_chunks():
files_to_remove = list() files_to_remove = list()
for file in files: for file in files:
if file not in files_chunks: if file not in files_chunks:
files.remove(file) files_to_remove.append(file)
continue continue
to_remove = list() to_remove = list()
for chunk in files_chunks[file]: for chunk in files_chunks[file]:
+15
View File
@@ -92,6 +92,7 @@ def update_cargo_vendor(path, name, git):
def update_cargo_sources(name, tag): def update_cargo_sources(name, tag):
makefile = [] makefile = []
options = []
archive_match = os.path.join('$(CGIT_BASE_URL)', 'vendor', name, archive_match = os.path.join('$(CGIT_BASE_URL)', 'vendor', name,
'snapshot', name) 'snapshot', name)
with open('Makefile', encoding='utf8') as mfile: with open('Makefile', encoding='utf8') as mfile:
@@ -108,6 +109,20 @@ def update_cargo_sources(name, tag):
with open('Makefile', 'w', encoding='utf8') as mfile: with open('Makefile', 'w', encoding='utf8') as mfile:
mfile.writelines(makefile) mfile.writelines(makefile)
with open('options.conf', encoding='utf8') as ofile:
for line in ofile.readlines():
if line.startswith('archives'):
if re.match(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz', line):
new_archives = re.sub(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz',
f"{archive_match}-{tag}.tar.xz\n", line)
else:
new_archives = f"achives = {archive_match}-{tag}.tar.xz ./vendor\n"
options.append(new_archives)
else:
options.append(line)
with open('options.conf', 'w', encoding='utf8') as ofile:
ofile.writelines(options)
def main(): def main():
vtype = vendor_check() vtype = vendor_check()