-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search method: fixed inconsistencies and optimized a bit
Some logic was only run when the expand-flag was set to True: 1) The logic automatically loading objects that aren't loaded 2) The logic removing "empty" responses from Google, This logic ensures a consistent return from the search-method also for servers not conforming to the RFC (by returning unloaded data or empty responses) The second was fixed in the previous commit, but it feels wrong converting the data to an icalendar object unless it's needed.
- Loading branch information
Showing
3 changed files
with
35 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters