This repository has been archived by the owner on Oct 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Don't require wrapping libraw calls in a handler #57
Merged
SamWhited
merged 18 commits into
photoshell:master
from
SamWhited:cleanup_error_handling
Jun 26, 2015
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a1d9d4e
Don't require wrapping libraw calls in a handler
SamWhited dc05dad
Don't auto-load LibRaw
SamWhited 4467726
Change where / how libraw is loaded
SamWhited f500d14
Fix tests
SamWhited dfde703
Finish writing tests for error handling cleanup
SamWhited 9a512e9
Tweak LibRaw docstring
SamWhited 665e3f0
Actually commit the new tests...
SamWhited 6b771cd
Add ability to get LibRaw version info
SamWhited 9dc84ed
Fix tests (again)
SamWhited c87bfaf
Manually define return types of LibRaw functions
SamWhited bfb4e42
Add more error checking tests
SamWhited 9cefd78
Make documentation more clear (and fix old docs)
SamWhited b0ce29b
Be explicit about errors
SamWhited 05299bf
Don't put things in package init
SamWhited 9a350a2
Remove ugly prefixing _underscores
SamWhited 6d83d8b
Typo fix.
SamWhited 364e88a
Put check_call back in errors
SamWhited ece0350
Fix tests from borked rebase
SamWhited File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +0,0 @@ | ||
import libraw.bindings | ||
|
||
libraw = libraw.bindings.libraw | ||
""" | ||
A handle to the LibRaw binary installed on the end users machine. | ||
|
||
This should always be imported first by anything that wants to use `libraw`: | ||
|
||
.. sourcecode:: python | ||
|
||
from libraw import libraw | ||
""" | ||
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think __init__is usually the first method. Not sure if it's an actual convention but I've always seen it like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅