diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-22 19:21:45 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-22 19:21:45 +0000 |
commit | c995cb62e7a909316afffb1622e3487940153caa (patch) | |
tree | a6484c277e2fd9b0c7946eb0394e201c2aa1d84e /anaconda | |
parent | 32991975132cdec3f11a26066799eb7c57c7d91d (diff) | |
download | anaconda-c995cb62e7a909316afffb1622e3487940153caa.tar.gz anaconda-c995cb62e7a909316afffb1622e3487940153caa.tar.xz anaconda-c995cb62e7a909316afffb1622e3487940153caa.zip |
pretty print the modules we use
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -102,6 +102,13 @@ if traceOnly: import image import harddrive import urlinstall + for module in sys.__dict__['modules'].keys (): + if module not in [ "__builtin__", "__main__" ]: + foo = repr (sys.__dict__['modules'][module]) + bar = string.split (foo, "'") + if len (bar) > 3: + print bar[3] + sys.exit(0) # imports after setting up the path |