From 1b68f71348ecf3983b76b40d7940da8377f049b7 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Mon, 29 Apr 2024 07:43:28 +0300 Subject: #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed --- indra/copy_win_scripts/start-client.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'indra/copy_win_scripts') diff --git a/indra/copy_win_scripts/start-client.py b/indra/copy_win_scripts/start-client.py index 6e5628c211..c6f045349b 100755 --- a/indra/copy_win_scripts/start-client.py +++ b/indra/copy_win_scripts/start-client.py @@ -29,7 +29,7 @@ import llstart def usage(): print("""start-client.py - + --grid --farm --region @@ -52,20 +52,20 @@ def start_client(grid, slurl, build_config, my_args): # Figure out path stuff. # The client should run from indra/newview # but the exe is at indra/build-/newview/ - build_path = os.path.dirname(os.getcwd()); + build_path = os.path.dirname(os.getcwd()); f = open("start-client.log", "w") print("Viewer startup arguments:", file=f) - llstart.start("viewer", "../../newview", + llstart.start("viewer", "../../newview", "%s/newview/%s/secondlife-bin.exe" % (build_path, build_config), viewer_args, f) f.close() if __name__ == "__main__": grid = llstart.get_config("grid") - + if grid == None: grid = "aditi" - + build_config = llstart.get_config("build_config") my_args = llstart.get_config("viewer_args", force_dict = True) opts, args = getopt.getopt(sys.argv[1:], "u:r:f:g:i:h", @@ -79,8 +79,8 @@ if __name__ == "__main__": if o in ("-h", "--help"): usage() sys.exit(0) - - slurl = llstart.get_config("slurl") + + slurl = llstart.get_config("slurl") if slurl == None: if region is None: region = llstart.get_user_name() @@ -88,5 +88,5 @@ if __name__ == "__main__": # Ensure the slurl has quotes around it. if slurl is not None: slurl = '"%s"' % (slurl.strip('"\'')) - + start_client(grid, slurl, build_config, my_args) -- cgit v1.2.3