Skip to content

Commit

Permalink
Quick py 2.7 disable check
Browse files Browse the repository at this point in the history
  • Loading branch information
clach04 committed Nov 29, 2024
1 parent a6fb0a9 commit 0485019
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion puren_tonbo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,9 @@ def write_to(self, file_object, byte_data):
if p_exe.returncode != 0:
raise PurenTonboException('failed to spawn, %r' % stderr_value) # TODO test and review
file_object.write(stdout_value) # only write to fileobject on successful encryption
AgeExe.exe_version_check(AgeExe) # TODO review this and classmethod
if is_py3:
AgeExe.exe_version_check(AgeExe) # TODO review this and classmethod
# ELSE todo py2.7 - TypeError: unbound method exe_version_check() must be called with AgeExe instance as first argument (got classobj instance instead)

# TODO AE-2 (no CRC), otherwise the same as AE-1 - see https://github.com/clach04/puren_tonbo/wiki/zip-format
class ZipEncryptedFileBase(EncryptedFile):
Expand Down

0 comments on commit 0485019

Please sign in to comment.