#6966 GC import shouldn't error on "Multiple Licenses"

unreleased
open
nobody
General
nobody
2015-01-03
2013-12-09
No

E.g. http://code.google.com/p/go/ causes this error.

Traceback (most recent call last):
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tasks.py", line 37, in import_project_info
    extractor.get_license(c.project)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 175, in get_license
    project.trove_license.append(trove._id)
AttributeError: 'NoneType' object has no attribute '_id'

Since it doesn't specify what those multiple licenses are, we can't pick any. So I think we just need to leave the license blank on the Allura side and avoid the error.

Discussion


Log in to post a comment.