Browse Source

Fix exception text

test_fixup
Vadim Lebedev 2 years ago
parent
commit
c5e562d4cd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libarchive/__init__.py

+ 1
- 1
libarchive/__init__.py View File

@@ -109,7 +109,7 @@ def call_and_check(func, archive, *args):
elif ret == _libarchive.ARCHIVE_EOF: elif ret == _libarchive.ARCHIVE_EOF:
raise EOF() raise EOF()
else: else:
raise Exception('Fatal error executing function, message is: %s.' % get_error(archive))
raise Exception('Problem executing function, message is: %s.' % get_error(archive))




def get_func(name, items, index): def get_func(name, items, index):


Loading…
Cancel
Save