Skip to content

Commit fd11077

Browse files
committed
Drop some python2 remnants
1 parent bce69f5 commit fd11077

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/systemd/journal.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
# You should have received a copy of the GNU Lesser General Public License
1818
# along with python-systemd; If not, see <http://www.gnu.org/licenses/>.
1919

20-
from __future__ import division
21-
2220
import sys as _sys
2321
import datetime as _datetime
2422
import uuid as _uuid
@@ -479,7 +477,6 @@ def stream(identifier=None, priority=LOG_INFO, level_prefix=False):
479477
480478
This interface can be used conveniently with the print function:
481479
482-
>>> from __future__ import print_function
483480
>>> stream = journal.stream() # doctest: +SKIP
484481
>>> print('message...', file=stream) # doctest: +SKIP
485482

src/systemd/test/test_journal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
import contextlib
32
import datetime
43
import errno

src/systemd/test/test_login.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
import select
32
import contextlib
43
import errno

0 commit comments

Comments
 (0)