diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-04 23:56:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-05 13:49:33 +0900 |
commit | f75fae3bd1cfb04d64d797d22a9881ba7e27402e (patch) | |
tree | 20b590028ccea2fc87403d9609c1ea5050faf799 /app_templates | |
parent | a635b7dc1520361feb00c21c2a40d4a9cbaf9778 (diff) | |
download | pytdeextensions-f75fae3bd1cfb04d64d797d22a9881ba7e27402e.tar.gz pytdeextensions-f75fae3bd1cfb04d64d797d22a9881ba7e27402e.zip |
Drop python2 support.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'app_templates')
-rwxr-xr-x | app_templates/tdeioslave/src/tdeioslave.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app_templates/tdeioslave/src/tdeioslave.py b/app_templates/tdeioslave/src/tdeioslave.py index 4146b82..17f9ee8 100755 --- a/app_templates/tdeioslave/src/tdeioslave.py +++ b/app_templates/tdeioslave/src/tdeioslave.py @@ -355,7 +355,7 @@ class SlaveClass(TDEIO.SlaveBase): ############################################################################ def debug(self,msg): if DEBUG == 0: return - print "tdeioslave:"+str(msg)+"\n" + print("tdeioslave:"+str(msg)+"\n") sys.stdout.flush() ############################################################################ @@ -450,7 +450,7 @@ class RAMDir(object): atom = TDEIO.UDSAtom() atom.m_uds = TDEIO.UDS_ACCESS # The usual octal permission information (rw-r--r-- in this case). - atom.m_long = 0644 + atom.m_long = 0o644 entry.append(atom) # If the stat method is implemented then entries _must_ include @@ -496,7 +496,7 @@ class RAMDir(object): def debug(self,msg): if DEBUG == 0: return - print "tdeioslave:"+str(msg)+"\n" + print("tdeioslave:"+str(msg)+"\n") sys.stdout.flush() ############################################################################ @@ -583,7 +583,7 @@ class RAMFile(object): atom = TDEIO.UDSAtom() atom.m_uds = TDEIO.UDS_ACCESS # The usual octal permission information (rw-r--r-- in this case). - atom.m_long = 0644 + atom.m_long = 0o644 entry.append(atom) # If the stat method is implemented then entries _must_ include |