diff options
author | Matt Wilson <msw@redhat.com> | 1999-07-12 21:14:44 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-07-12 21:14:44 +0000 |
commit | cd979b108acf532b70c41aa431215556ed1e75ae (patch) | |
tree | afd945f55845b9638c011778112fdfbeff34c4c0 /anaconda | |
parent | f5a17283dd72cf749fe74e342ca4d1b8ca87ceb7 (diff) | |
download | anaconda-cd979b108acf532b70c41aa431215556ed1e75ae.tar.gz anaconda-cd979b108acf532b70c41aa431215556ed1e75ae.tar.xz anaconda-cd979b108acf532b70c41aa431215556ed1e75ae.zip |
remove arguments from argv so gnome doesn't bitch
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -5,10 +5,14 @@ import lang _=lang.gettext -# fixme - first stage install passes --method (args, extra) = getopt.getopt(sys.argv[1:], 'p:GTtdr:f', [ 'gui', 'text', 'test', 'debug', 'rootpath=', - 'testpath=', 'mountfs', 'method' ]) + 'testpath=', 'mountfs' ]) + +# remove the arguments - gnome_init doesn't understand them +for arg in sys.argv[1:]: + sys.argv.remove (arg) +sys.argc = 1 mode = None test = 0 |