From 9f82e6ecad5795b9f82cc2f7f8d82aeeee8574c6 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Wed, 5 Dec 2001 05:54:24 +0000 Subject: [PATCH] backport 1.18: Patch #416220: Fix misplaced paren. --- Lib/pstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/pstats.py b/Lib/pstats.py index da3aeb76e5e6..8eb81b717c47 100644 --- a/Lib/pstats.py +++ b/Lib/pstats.py @@ -604,7 +604,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." -- 2.47.3