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

Avoid parsing the url twice #402

Merged
merged 2 commits into from
Jun 27, 2022
Merged

Avoid parsing the url twice #402

merged 2 commits into from
Jun 27, 2022

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Mar 15, 2022

Noticed that this happens twice while debugging so I figured I'd optimize it

@codecov
Copy link

codecov bot commented Mar 15, 2022

Codecov Report

Merging #402 (52051fd) into dev (6c2b95c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev     #402   +/-   ##
=======================================
  Coverage   91.77%   91.78%           
=======================================
  Files          20       20           
  Lines        2116     2118    +2     
  Branches      287      287           
=======================================
+ Hits         1942     1944    +2     
  Misses        132      132           
  Partials       42       42           
Impacted Files Coverage Δ
pyhap/hap_handler.py 81.62% <100.00%> (+0.09%) ⬆️

@bdraco bdraco marked this pull request as ready for review March 15, 2022 23:43
@ikalchev ikalchev merged commit 379ac36 into ikalchev:dev Jun 27, 2022
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