Skip to content

Commit

Permalink
white space and shorten comment
Browse files Browse the repository at this point in the history
  • Loading branch information
daues committed Oct 16, 2023
1 parent c646110 commit 3251f3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/ctrl/execute/allocator.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(self, platform, opts, configuration, condorInfoFileName):

self.platform = platform

# Look up the user's name and home directory and scratch directory in the
# Look up the user's name and home and scratch directory in the
# $HOME/.lsst/condor-info.py file
user_name = None
user_home = None
Expand All @@ -74,8 +74,8 @@ def __init__(self, platform, opts, configuration, condorInfoFileName):
user_name = condorInfoConfig.platform[name].user.name
user_home = condorInfoConfig.platform[name].user.home
user_scratch = condorInfoConfig.platform[name].user.scratch
if user_scratch is None and "SCRATCH" in os.environ:
user_scratch = os.environ["SCRATCH"]
if user_scratch is None and "SCRATCH" in os.environ:
user_scratch = os.environ["SCRATCH"]
if user_name is None:
raise RuntimeError(
"error: %s does not specify user name for platform == %s"
Expand Down

0 comments on commit 3251f3d

Please sign in to comment.