Skip to content

fixed TypeError due to different attributes over directories and files - #21

Merged
pombredanne merged 1 commit into
aboutcode-org:mainfrom
pratik0316:dynamic_attrs
Jun 11, 2021
Merged

fixed TypeError due to different attributes over directories and files#21
pombredanne merged 1 commit into
aboutcode-org:mainfrom
pratik0316:dynamic_attrs

Conversation

@pratik0316

Copy link
Copy Markdown
Contributor

Signed-off-by: Pratik Dey pratikrocks.dey11@gmail.com
Fix for #20

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
Please see my comments inline.

Comment thread src/commoncode/resource.py
Comment thread src/commoncode/resource.py Outdated
@@ -1593,8 +1593,12 @@ def _populate(self, scan_data):

# We collect the first Resource so we can see what attributes it has and determine

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update these comments accordingly

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Comment thread tests/data/resource/virtual_codebase/fingerprint_attribute.json
Signed-off-by: Pratik Dey <pratikrocks.dey11@gmail.com>

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks. merging now
Reminder for the next PR: please also update the CHANGELOG.

@pombredanne
pombredanne merged commit 4b627bd into aboutcode-org:main Jun 11, 2021
@pratik0316

Copy link
Copy Markdown
Contributor Author

Okay 👍

priv-kweihmann pushed a commit to priv-kweihmann/commoncode that referenced this pull request Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants