summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/byteyears.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/byteyears.py')
-rwxr-xr-xTools/scripts/byteyears.py6
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: