We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef79221 commit 1a2f780Copy full SHA for 1a2f780
python/lsst/sconsUtils/installation.py
@@ -237,9 +237,7 @@ def Declare(self, products=None):
237
self["ENV"]["EUPS_LOCK_PID"] = os.environ.get("EUPS_LOCK_PID", "-1")
238
if "undeclare" in SCons.Script.COMMAND_LINE_TARGETS or self.GetOption("clean"):
239
if version:
240
- command = "eups undeclare --flavor {} {} {}".format(
241
- self["eupsFlavor"], product, version
242
- )
+ command = f"eups undeclare --flavor {self['eupsFlavor']} {product} {version}"
243
if (
244
"current" in SCons.Script.COMMAND_LINE_TARGETS
245
and "declare" not in SCons.Script.COMMAND_LINE_TARGETS
0 commit comments