From: Anthony Baxter Date: Wed, 5 Dec 2001 05:54:24 +0000 (+0000) Subject: backport 1.18: Patch #416220: Fix misplaced paren. X-Git-Tag: v2.1.2c1~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f82e6ecad5795b9f82cc2f7f8d82aeeee8574c6;p=thirdparty%2FPython%2Fcpython.git backport 1.18: Patch #416220: Fix misplaced paren. --- 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."