Closed CalMacCQ closed 2 weeks ago
After trying to regenerate the source list for the website by running this script I noticed that there was an AttributeError caused by a formatting issue in this repository.
AttributeError
The line that fails is as follows.
project_description = re.search(r'^.*-.*- (.*)$', line).group(1)
As this regex cannot find a "-" in the avaloni entry the search returns None hence the attribute error.
None
project_description = re.search(r'^.*-.*- (.*)$', line).group(1)#.strip('\'') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'group'
After this is merged, I'll be happy to rerun the script and update the source for the site.
See also the PR in progress -> https://github.com/qosf/qosf.org/pull/115
Thanks for the fix!
After trying to regenerate the source list for the website by running this script I noticed that there was an
AttributeError
caused by a formatting issue in this repository.The line that fails is as follows.
As this regex cannot find a "-" in the avaloni entry the search returns
None
hence the attribute error.After this is merged, I'll be happy to rerun the script and update the source for the site.
See also the PR in progress -> https://github.com/qosf/qosf.org/pull/115