Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix python syntax error #17

Open
wants to merge 1 commit into
base: suse-py3
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix python syntax error
Larry Chen committed Jan 16, 2018
commit 4b8abf79fc211b1f2b66d8d2010b6fbc893fddae
6 changes: 3 additions & 3 deletions programs/cross_delete/cross_delete.py
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ def BuildCrList(nodelist, nodelen, dirlist, dirlen):
remove(os.path.join(stagedir, nodelist[n]+'_C.dat'))
fd = open(os.path.join(stagedir, nodelist[n]+'_C.dat'), 'w')
fd.write(','.join(node_dirs[nodelist[n]+'_C']))
fd.close
fd.close()
if DEBUGON:
o2tf.printlog('cross_delete:BuildDelList: (%s) was written to \
the file %s' % (','.join(node_dirs[nodelist[n]+'_C'])),
@@ -125,7 +125,7 @@ def BuildDelList(nodelist, dirlist):
remove(os.path.join(stagedir,nodelist[n]+'_D.dat'))
fd = open(os.path.join(stagedir,nodelist[n]+'_D.dat'), 'w')
fd.write(','.join(node_dirs[nodelist[n-1]+'_D']))
fd.close
fd.close()
if DEBUGON:
o2tf.printlog('cross_delete:BuildDelList: (%s) was written to \
the file %s' % (','.join(node_dirs[nodelist[n-1]+'_D'])),
@@ -135,7 +135,7 @@ def BuildDelList(nodelist, dirlist):
'')
fd = open(os.path.join(stagedir, nodelist[n-1]+'_D.dat'), 'w')
fd.write(','.join(node_dirs[nodelist[n]+'_D']))
fd.close
fd.close()
if DEBUGON:
o2tf.printlog('cross_delete:BuildDelList: (%s) was written to \
the file %s' % (','.join(node_dirs[nodelist[n]+'_D'])),