diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-06-28 13:32:03 -0400 |
---|---|---|
committer | Zbyszek Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-07-12 11:02:30 +0200 |
commit | 557184bb56240bfcf05d250e5bf9049eaf6d0ec5 (patch) | |
tree | 9475eac39f8fdb607c8db1aa61380906adf8cf4d /.gitignore | |
parent | 3c089ad48eb899b332babab380c5f1782a2e04ad (diff) | |
download | python-systemd-557184bb56240bfcf05d250e5bf9049eaf6d0ec5.tar.gz |
Add frontend module in pure-Python and hide old module
journald.send() is renamed to journald.sendv(), and a replacement
journald.send() is added. This new function has a more pythonic API,
where one positional argument is used for the message, and keyword
arguments can be used to specify other fields.
Implementing argument parsing in C would be really painful, for little
gain, so a pure-python module is added, which provides send(), which
in turn calls sendv().
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ +__pycache__/ *.py[co] -/journald.so -/journald.*.so +/journald/*.so # Packages *.egg |