Skip to content

Instantly share code, notes, and snippets.

@michaelarnauts
Created January 19, 2016 14:05
Show Gist options
  • Save michaelarnauts/bf34718285daa5f121fc to your computer and use it in GitHub Desktop.
Save michaelarnauts/bf34718285daa5f121fc to your computer and use it in GitHub Desktop.
--- /opt/canonical/landscape/canonical/landscape/model/main/license.py 2016-01-14 17:59:51.410606298 +0100
+++ /opt/canonical/landscape/canonical/landscape/model/main/license.py 2016-01-14 18:00:21.919744026 +0100
@@ -570,12 +570,6 @@
# Couldn't read the file or directory, return no license info
return None, []
- if check_signature:
- signature_error = signature_is_valid(license_contents)
- if signature_error:
- message = "{}: {}.".format(signature_error, path)
- raise InvalidSignatureError(message)
-
license_json = extract_license_from_signing_armour(license_contents)
try:
values = json.loads(license_json)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment