Permalink
Browse files

remove zip_path check due to false errors (bug 856475)

  • Loading branch information...
1 parent c994fd5 commit 9a7752627833c56d622b0aae70cd6c49c953bda0 @wraithan wraithan committed May 23, 2013
Showing with 0 additions and 13 deletions.
  1. +0 −13 validator/testcases/jetpack.py
@@ -174,19 +174,6 @@ def inspect_jetpack(err, xpi_package, allow_old_sdk=False):
uri = uri[11:]
zip_path = "resources/%s" % uri.replace("@", "-at-")
- # Check the zipname element if it exists.
- if zip_path not in xpi_package:
- err.warning(
- err_id=("testcases_jetpack",
- "inspect_jetpack",
- "missing_jetpack_module"),
- warning="Missing Jetpack module",
- description=["A Jetpack module listed in harness-options.json "
- "could not be found in the add-on.",
- "Path: %s" % zip_path],
- filename="harness-options.json")
- continue
-
blob_hash = hashlib.sha256(xpi_package.read(zip_path)).hexdigest()
file_hashes[zip_path] = blob_hash

0 comments on commit 9a77526

Please sign in to comment.