Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes bug 1274345 - Added support from triming signatures missing symbols. #3363

Merged
merged 2 commits into from Jun 10, 2016

Conversation

adngdb
Copy link
Contributor

@adngdb adngdb commented Jun 7, 2016

No description provided.

# rewrite it to remove all but the module name.
if self.trim_dll_signature_re.match(a_signature):
try:
a_signature = a_signature[:a_signature.index('@')]
Copy link
Contributor

Choose a reason for hiding this comment

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

Normally you do a_signature = a_signature.split('@')[0] which does the same thing but without having to compute the index first. And then you don't need the try:except ValueError blocks.

@peterbe
Copy link
Contributor

peterbe commented Jun 7, 2016

some nits.

@adngdb
Copy link
Contributor Author

adngdb commented Jun 8, 2016

addressed

@peterbe peterbe merged commit f1b5a0a into mozilla-services:master Jun 10, 2016
@adngdb adngdb deleted the 1274345-trim-dll-signatures branch August 10, 2016 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants