mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-06 00:11:40 +00:00
ubuntu-cpc: use sys.exit() rather than quit()
This commit is contained in:
parent
c3d1a92933
commit
ae9b91d124
@ -8,6 +8,7 @@ script. If the file is empty, all output will be saved.
|
|||||||
"""
|
"""
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print('Running {}'.format(__file__))
|
print('Running {}'.format(__file__))
|
||||||
@ -21,7 +22,7 @@ if __name__ == "__main__":
|
|||||||
if not explicit:
|
if not explicit:
|
||||||
print('{}: explicit_provides is empty. '
|
print('{}: explicit_provides is empty. '
|
||||||
'All binary output will be included'.format(scriptname))
|
'All binary output will be included'.format(scriptname))
|
||||||
quit()
|
sys.exit(0)
|
||||||
|
|
||||||
all = set(glob.glob('livecd.ubuntu-cpc.*'))
|
all = set(glob.glob('livecd.ubuntu-cpc.*'))
|
||||||
implicit = all - explicit
|
implicit = all - explicit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user