Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
ba65fbfa
Commit
ba65fbfa
authored
May 25, 2012
by
Jelte Jansen
Browse files
[1456] fix a few comments and error messages
parent
1171a27a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/python/isc/xfrin/diff.py
View file @
ba65fbfa
...
...
@@ -351,7 +351,6 @@ class Diff:
Raises a ValueError if the buffer is in single_update_mode.
"""
if
self
.
__single_update_mode
:
# This operation is only valid if the multi-update mode
raise
ValueError
(
"Compound buffer requested in single-update mode"
)
else
:
return
self
.
__buffer
...
...
@@ -369,7 +368,6 @@ class Diff:
Raises a ValueError if the buffer is not in single_update_mode.
"""
if
not
self
.
__single_update_mode
:
# This operation is only valid if the multi-update mode
raise
ValueError
(
"Compound buffer requested in single-update mode"
)
raise
ValueError
(
"Separate buffers requested in single-update mode"
)
else
:
return
(
self
.
__deletions
,
self
.
__additions
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment