Remove trailing whitespace from all lines in launchapp (code style issue)

This commit is contained in:
Greg Neagle
2014-07-22 10:25:11 -07:00
parent 324301fe6b
commit 4eca232c69

View File

@@ -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()