Skip to content

Commit

Permalink
drop remnants of Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed May 25, 2021
1 parent 691cf61 commit 1b35361
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libarchive/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def format_time(seconds, nanos):
return int(seconds)


class ArchiveEntry(object):
class ArchiveEntry:

__slots__ = ('_archive_p', '_entry_p')

Expand Down
2 changes: 1 addition & 1 deletion libarchive/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .entry import ArchiveEntry, new_archive_entry


class ArchiveRead(object):
class ArchiveRead:

def __init__(self, archive_p):
self._pointer = archive_p
Expand Down
2 changes: 1 addition & 1 deletion libarchive/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def new_archive_read_disk(path, flags=0, lookup=False):
read_free(archive_p)


class ArchiveWrite(object):
class ArchiveWrite:

def __init__(self, archive_p):
self._pointer = archive_p
Expand Down
1 change: 0 additions & 1 deletion tests/test_security_flags.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test security-related extraction flags."""

from __future__ import division, print_function, unicode_literals
import pytest
import os

Expand Down

0 comments on commit 1b35361

Please sign in to comment.