Skip to content

Commit

Permalink
Merge pull request #50 from brianhlin/master
Browse files Browse the repository at this point in the history
Fix to JOB_ROUTER_DEFAULTS classad when UID/extattr mappings were not…
  • Loading branch information
matyasselmeci committed Oct 26, 2015
2 parents 1e0ed57 + e6cc277 commit f83ac19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/condor_ce_router_defaults
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ def main():

try:
print defaults_with_env.replace("@accounting_group@", accounting_group_str)
except TypeError:
print defaults_with_env.replace("\n eval_set_AccountingGroup = @accounting_group@ \\", '')
except TypeError: # if no accounting group mappings, remove them from the classad
print re.sub(r'.*AccountingGroupOSG.*\n', '', defaults_with_env)

if __name__ == "__main__":
main()
Expand Down

0 comments on commit f83ac19

Please sign in to comment.