Skip to content

Commit c7ab8a8

Browse files
committed
update comment
1 parent 03d626a commit c7ab8a8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

bsubScripts/ncumeps_global_tigge/tigge_create_tarball_g2files.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
## Arulalan.T
1515
## 04-Mar-2016.
1616

17-
import os, subprocess, datetime, getopt, sys, glob, time
17+
import os, subprocess, datetime, getopt, sys, glob, time
1818

1919
pbzip2 = '/gpfs1/home/Libs/GNU/ZIPUTIL/pbzip2'
2020
pigz = '/gpfs1/home/Libs/GNU/ZIPUTIL/pigz'
@@ -84,15 +84,16 @@ def createTarBalls(path, today, member):
8484
print "gzip_cmd = ", gzip_cmd
8585
subprocess.call(gzip_cmd, shell=True)
8686
time.sleep(5)
87-
88-
if member == '000':
89-
# remove yesterday directory!!!
87+
print os.getcwd(), member
88+
if member == '000':
89+
# remove today directory!!!
90+
print "path", path
9091
if os.path.exists(path):
9192
cmd = "rm -rf %s" % path
9293
print cmd
9394
subprocess.call(cmd, shell=True)
94-
# end of if os.path.exists(path):
95-
# end of if member == '000':
95+
# end of if os.path.exists(yDayPath):
96+
# end of if member == '000':
9697
os.chdir(cdir)
9798
# end of def createTarBalls(path, today, ...):
9899

0 commit comments

Comments
 (0)