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
Adam Osuchowski
Kea
Commits
6bd0c1d9
Commit
6bd0c1d9
authored
Dec 13, 2012
by
JINMEI Tatuya
Browse files
[2379] style fix: combine short lines; indentation
parent
65ce062a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/python/isc/datasrc/datasrc.cc
View file @
6bd0c1d9
...
...
@@ -190,8 +190,7 @@ initModulePart_ZoneLoader(PyObject* mod) {
return
(
false
);
}
void
*
p
=
&
zone_loader_type
;
if
(
PyModule_AddObject
(
mod
,
"ZoneLoader"
,
static_cast
<
PyObject
*>
(
p
))
<
0
)
{
if
(
PyModule_AddObject
(
mod
,
"ZoneLoader"
,
static_cast
<
PyObject
*>
(
p
))
<
0
)
{
return
(
false
);
}
Py_INCREF
(
&
zone_loader_type
);
...
...
@@ -286,8 +285,8 @@ PyInit_datasrc(void) {
PyObjectContainer
(
po_DataSourceError
).
installToModule
(
mod
,
"Error"
);
po_MasterFileError
=
PyErr_NewException
(
"isc.datasrc.MasterFileError"
,
po_DataSourceError
,
NULL
);
PyObjectContainer
(
po_MasterFileError
).
installToModule
(
mod
,
"MasterFileError"
);
PyObjectContainer
(
po_MasterFileError
).
installToModule
(
mod
,
"MasterFileError"
);
po_OutOfZone
=
PyErr_NewException
(
"isc.datasrc.OutOfZone"
,
NULL
,
NULL
);
PyObjectContainer
(
po_OutOfZone
).
installToModule
(
mod
,
"OutOfZone"
);
po_NotImplemented
=
PyErr_NewException
(
"isc.datasrc.NotImplemented"
,
...
...
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