Fix gmtime() being an argument of strftime, not write.
svn path=/main/branches/prefix/; revision=5395
# write timestamp.chk
try:
+ if not os.path.exists(os.path.join(myportdir, "metadata")):
+ os.mkdir(os.path.join(myportdir, "metadata"))
f = open(os.path.join(myportdir, "metadata", "timestamp.chk"), 'w')
- f.write(time.strftime("%a, %d %b %Y %H:%M:%S +0000"), time.gmtime())
+ f.write(time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()))
f.write('\n')
f.close()
except IOError e: