Commit d9d7fec6 authored by Denia Bouhired-Ferrag's avatar Denia Bouhired-Ferrag

software: modification to log file name in remote upgrades

parent 0a65ba05
......@@ -180,7 +180,7 @@ if __name__ == "__main__":
#Generate log file
# Generate output file named according to current time
fname = time.strftime("remote-gwupgrade-%s-%Y-%m-%d", bid, time.localtime()) + ".txt"
fname = bid+"-"+time.strftime("remote-gwupgrade-%s-%Y-%m-%d", bid, time.localtime()) + ".txt"
ret =["ls ./log | grep " + fname], shell=True, stdout=None, stderr=None)
print ("%d" % ret)
if (ret != 0):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment