summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/objgraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/objgraph.py')
-rwxr-xr-xTools/scripts/objgraph.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/scripts/objgraph.py b/Tools/scripts/objgraph.py
index b45bba2..a21797d 100755
--- a/Tools/scripts/objgraph.py
+++ b/Tools/scripts/objgraph.py
@@ -170,18 +170,18 @@ def main():
return 1
optu = optc = optd = 0
for opt, void in optlist:
- if opt = '-u':
+ if opt == '-u':
optu = 1
- elif opt = '-c':
+ elif opt == '-c':
optc = 1
- elif opt = '-d':
+ elif opt == '-d':
optd = 1
- if optu = optc = optd = 0:
+ if optu == optc == optd == 0:
optu = optc = optd = 1
if not args:
args = ['-']
for file in args:
- if file = '-':
+ if file == '-':
readinput(sys.stdin)
else:
readinput(open(file, 'r'))