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

limbo
open
nobody
nobody
General
None
2013-12-09
2013-12-09
Dave Brondsema
No
0 up votes | 0 down votes | 0%
0 comments

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


Anonymous


Cancel   Add attachments