diff --git a/services/pypi/pypi-helpers.js b/services/pypi/pypi-helpers.js
index 706955b4f969b28eac1afe9147e3ceec4765780a..636e1f0f21a61f23ab7de2f739260f25f7d6320c 100644
--- a/services/pypi/pypi-helpers.js
+++ b/services/pypi/pypi-helpers.js
@@ -50,7 +50,7 @@ function getLicenses(packageData) {
   const {
     info: { license },
   } = packageData
-  if (license) {
+  if (license && license.length < 40) {
     return [license]
   } else {
     const parenthesizedAcronymRegex = /\(([^)]+)\)/
diff --git a/services/pypi/pypi-helpers.spec.js b/services/pypi/pypi-helpers.spec.js
index 17e42b3b4fd5ad073324251bca9f2e462588e60a..b12b61ac46597ffcc48c9f036f5f5e6a537c1b78 100644
--- a/services/pypi/pypi-helpers.spec.js
+++ b/services/pypi/pypi-helpers.spec.js
@@ -116,6 +116,13 @@ describe('PyPI helpers', function () {
           classifiers: ['License :: OSI Approved :: MIT License'],
         },
       }),
+      given({
+        info: {
+          license:
+            'this text is really really really really really really long',
+          classifiers: ['License :: OSI Approved :: MIT License'],
+        },
+      }),
       given({
         info: {
           license: '',