Bug 1437710: fix spelling of zstd; r?gps
MozReview-Commit-ID: 8bSU61Lvh0T
--- a/taskcluster/mach_commands.py
+++ b/taskcluster/mach_commands.py
@@ -371,17 +371,17 @@ class MachCommands(MachCommandBase):
if regexprogram.match(dep):
filterededges.add((key, dep, depname))
filtered_taskgraph = TaskGraph(filteredtasks, Graph(set(filteredtasks), filterededges))
return filtered_taskgraph
@CommandProvider
class TaskClusterImagesProvider(MachCommandBase):
- def _ensure_sztd(self):
+ def _ensure_zstd(self):
try:
import zstd
# There are two zstd libraries that exist in the wild, ensure we
# have the right one.
zstd.ZstdCompressor
zstd.ZstdDecompressor
except (ImportError, AttributeError):
self._activate_virtualenv()
@@ -396,17 +396,17 @@ class TaskClusterImagesProvider(MachComm
help="tag that the image should be loaded as. If not "
"image will be loaded with tag from the tarball",
metavar="name:tag")
@CommandArgument('image_name', nargs='?',
help="Load the image of this name based on the current"
"contents of the tree (as built for mozilla-central"
"or mozilla-inbound)")
def load_image(self, image_name, task_id, tag):
- self._ensure_sztd()
+ self._ensure_zstd()
from taskgraph.docker import load_image_by_name, load_image_by_task_id
if not image_name and not task_id:
print("Specify either IMAGE-NAME or TASK-ID")
sys.exit(1)
try:
if task_id:
ok = load_image_by_task_id(task_id, tag)
else: