Skip to content

Commit

Permalink
Fix bad conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
atsareg committed Feb 4, 2021
1 parent 66eb8d1 commit 6b3327b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1099,24 +1099,6 @@ def _getPilotOptions(self, queue, pilotsToSubmit, **kwargs):
if pilotLogging:
pilotOptions.append('-z ')

# Request a release
# FIXME: this can disapper at some point (when there will only be pilot 3)
if not self.pilot3: # in pilot 3 the version is taken from the JSON file exported from the CS
diracVersion = opsHelper.getValue("Pilot/Version", [])
if not diracVersion:
self.log.error('Pilot/Version is not defined in the configuration')
return [None, None]
# diracVersion is a list of accepted releases
pilotOptions.append('-r %s' % ','.join(str(it) for it in diracVersion))

# lcgBundle defined? (pilot 2 only)
lcgBundleVersion = opsHelper.getValue("Pilot/LCGBundleVersion", "")
if lcgBundleVersion:
self.log.warn(
"lcgBundle defined in CS: will overwrite possible per-release lcg bundle versions",
"(version in CS: %s)" % lcgBundleVersion)
pilotOptions.append('-g %s' % lcgBundleVersion)

# Debug
if self.pilotLogLevel.lower() == 'debug':
pilotOptions.append('-ddd')
Expand Down

0 comments on commit 6b3327b

Please sign in to comment.