summaryrefslogtreecommitdiffstats
path: root/app_templates/tdeioslave/src/tdeioslave.py
diff options
context:
space:
mode:
Diffstat (limited to 'app_templates/tdeioslave/src/tdeioslave.py')
-rwxr-xr-xapp_templates/tdeioslave/src/tdeioslave.py8
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