summaryrefslogtreecommitdiffstats
path: root/Lib/pstats.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pstats.py')
-rw-r--r--Lib/pstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py
index b46727d..c1183f9 100644
--- a/Lib/pstats.py
+++ b/Lib/pstats.py
@@ -613,7 +613,7 @@ if __name__ == '__main__':
print args[1]
return
self.prompt = line + "% "
- elif len(self.prompt > 2):
+ elif len(self.prompt) > 2:
line = self.prompt[-2:]
else:
print "No statistics object is current -- cannot reload."