##// END OF EJS Templates
py3: use '%d' for os.stat_result.st_nlink instead of '%s'...
Pulkit Goyal -
r38383:06c85cbd default
parent child Browse files
Show More
@@ -84,7 +84,7 b' def visit(opts, filenames, outfile):'
84 if opts.mode and not islink:
84 if opts.mode and not islink:
85 facts.append(b'mode=%o' % (stat.st_mode & 0o777))
85 facts.append(b'mode=%o' % (stat.st_mode & 0o777))
86 if opts.links:
86 if opts.links:
87 facts.append(b'links=%s' % stat.st_nlink)
87 facts.append(b'links=%d' % stat.st_nlink)
88 if opts.newer:
88 if opts.newer:
89 # mtime might be in whole seconds so newer file might be same
89 # mtime might be in whole seconds so newer file might be same
90 if stat.st_mtime >= os.stat(opts.newer).st_mtime:
90 if stat.st_mtime >= os.stat(opts.newer).st_mtime:
General Comments 0
You need to be logged in to leave comments. Login now