Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
steam
systemd
Commits
ee6349a7
Commit
ee6349a7
authored
Apr 14, 2013
by
Zbigniew Jędrzejewski-Szmek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
systemd-python: fix formatting in docstring
parent
a1d4ca9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/python-systemd/_reader.c
src/python-systemd/_reader.c
+6
-5
No files found.
src/python-systemd/_reader.c
View file @
ee6349a7
...
...
@@ -175,10 +175,10 @@ static PyObject* Reader_close(Reader *self, PyObject *args)
PyDoc_STRVAR
(
Reader_get_usage__doc__
,
"get_usage() -> int
\n\n
"
"Returns the total disk space currently used by journal"
"files (in bytes). If `SD_JOURNAL_LOCAL_ONLY` was"
"passed when opening the journal this value will only reflect"
"the size of journal files of the local host, otherwise"
"Returns the total disk space currently used by journal
\n
"
"files (in bytes). If `SD_JOURNAL_LOCAL_ONLY` was
\n
"
"passed when opening the journal this value will only reflect
\n
"
"the size of journal files of the local host, otherwise
\n
"
"of all hosts.
\n\n
"
"This method invokes sd_journal_get_usage().
\n
"
"See man:sd_journal_get_usage(3)."
);
...
...
@@ -628,7 +628,8 @@ PyDoc_STRVAR(Reader_wait__doc__,
"then block forever.
\n\n
"
"Will return constants: NOP if no change; APPEND if new
\n
"
"entries have been added to the end of the journal; and
\n
"
"INVALIDATE if journal files have been added or removed."
);
"INVALIDATE if journal files have been added or removed.
\n\n
"
"See man:sd_journal_wait(3) for further discussion."
);
static
PyObject
*
Reader_wait
(
Reader
*
self
,
PyObject
*
args
)
{
int
r
;
...
...
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