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 some errors #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions programs/cross_delete/cross_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',0)
fd.write(string.join(node_dirs[nodelist[n]+'_C'],','))
fd.close
fd.close()
if DEBUGON:
o2tf.printlog('cross_delete:BuildDelList: (%s) was written to \
the file %s' % (string.join(node_dirs[nodelist[n]+'_C'],','),
Expand All @@ -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',0)
fd.write(string.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' % (string.join(node_dirs[nodelist[n-1]+'_D'],','),
Expand All @@ -135,7 +135,7 @@ def BuildDelList(nodelist, dirlist):
'')
fd = open(os.path.join(stagedir, nodelist[n-1]+'_D.dat'), 'w',0)
fd.write(string.join(node_dirs[nodelist[n]+'_D'],','))
fd.close
fd.close()
if DEBUGON:
o2tf.printlog('cross_delete:BuildDelList: (%s) was written to \
the file %s' % (string.join(node_dirs[nodelist[n]+'_D'],','),
Expand Down
4 changes: 2 additions & 2 deletions programs/splice/splice_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ def SpliceRead():
if len(args) != 0:
parser.error('incorrect number of arguments')
#
if options.debug:
DEBUGON=1
if options.debug:
DEBUGON=1
#
if options.filename:
filename = options.filename
Expand Down