From 4eca232c69568b650a57ece3a2ed9e2d94732ceb Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Tue, 22 Jul 2014 10:25:11 -0700 Subject: [PATCH] Remove trailing whitespace from all lines in launchapp (code style issue) --- code/client/launchapp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/client/launchapp b/code/client/launchapp index e3674c4b..90cf7849 100755 --- a/code/client/launchapp +++ b/code/client/launchapp @@ -6,9 +6,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -50,7 +50,7 @@ def main(): # when run via launchd at loginwindow context, os.environ['USER'] # is undefined, so we'll return root (the effective user) thisuser = "root" - + if (consoleuser == thisuser) or \ (consoleuser == None and thisuser == "root"): cmd = ["/usr/bin/open"] @@ -68,7 +68,7 @@ def main(): # sleep 10 secs to make launchd happy time.sleep(10) exit(0) - + if __name__ == '__main__': main()