209 del sys.argv[sys.argv.index("--noopen")] |
209 del sys.argv[sys.argv.index("--noopen")] |
210 noopen = True |
210 noopen = True |
211 for arg in sys.argv: |
211 for arg in sys.argv: |
212 if arg.startswith("--plugin=") and sys.argv.index(arg) < ddindex: |
212 if arg.startswith("--plugin=") and sys.argv.index(arg) < ddindex: |
213 # extract the plugin development option |
213 # extract the plugin development option |
214 pluginFile = arg.replace("--plugin=", "") |
214 pluginFile = arg.replace("--plugin=", "").replace('"', "") |
215 sys.argv.remove(arg) |
215 sys.argv.remove(arg) |
216 pluginFile = os.path.expanduser(pluginFile) |
216 pluginFile = os.path.expanduser(pluginFile) |
217 pluginFile = Utilities.normabspath(pluginFile) |
217 pluginFile = Utilities.normabspath(pluginFile) |
218 break |
218 break |
219 |
219 |