equal
deleted
inserted
replaced
62 if not isstdin: |
62 if not isstdin: |
63 stat = os.lstat(f) |
63 stat = os.lstat(f) |
64 if opts.size and not isdir: |
64 if opts.size and not isdir: |
65 facts.append('size=%s' % stat.st_size) |
65 facts.append('size=%s' % stat.st_size) |
66 if opts.mode and not islink: |
66 if opts.mode and not islink: |
67 facts.append('mode=%o' % (stat.st_mode & 0777)) |
67 facts.append('mode=%o' % (stat.st_mode & 0o777)) |
68 if opts.links: |
68 if opts.links: |
69 facts.append('links=%s' % stat.st_nlink) |
69 facts.append('links=%s' % stat.st_nlink) |
70 if opts.newer: |
70 if opts.newer: |
71 # mtime might be in whole seconds so newer file might be same |
71 # mtime might be in whole seconds so newer file might be same |
72 if stat.st_mtime >= os.stat(opts.newer).st_mtime: |
72 if stat.st_mtime >= os.stat(opts.newer).st_mtime: |