Created
January 19, 2016 14:05
-
-
Save michaelarnauts/bf34718285daa5f121fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /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