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