diff options
author | Guido van Rossum <guido@python.org> | 1992-01-01 19:35:13 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-01-01 19:35:13 (GMT) |
commit | bdfcfccbe591e15221f35add01132174c9b4e669 (patch) | |
tree | 7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Tools/scripts/byteyears.py | |
parent | 4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff) | |
download | cpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2 |
New == syntax
Diffstat (limited to 'Tools/scripts/byteyears.py')
-rwxr-xr-x | Tools/scripts/byteyears.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/byteyears.py b/Tools/scripts/byteyears.py index 06f7559..c0aea70 100755 --- a/Tools/scripts/byteyears.py +++ b/Tools/scripts/byteyears.py @@ -17,13 +17,13 @@ except NameError: statfunc = posix.stat # Parse options -if sys.argv[1] = '-m': +if sys.argv[1] == '-m': itime = ST_MTIME del sys.argv[1] -elif sys.argv[1] = '-c': +elif sys.argv[1] == '-c': itime = ST_CTIME del sys.argv[1] -elif sys.argv[1] = '-a': +elif sys.argv[1] == '-a': itime = ST_CTIME del sys.argv[1] else: |