]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Enclose pattern in quotes in status message.
authorGuido van Rossum <guido@python.org>
Thu, 3 Jun 1999 14:25:49 +0000 (14:25 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 3 Jun 1999 14:25:49 +0000 (14:25 +0000)
Tools/idle/GrepDialog.py

index 26f1236b22a76340877ab991317412d4d2d07014..61c77c349389a5ded084f0584e19b85e608c735d 100644 (file)
@@ -79,7 +79,7 @@ class GrepDialog(SearchDialogBase):
         list.sort()
         self.close()
         pat = self.engine.getpat()
-        print "Searching %s in %s ..." % (pat, path)
+        print "Searching %s in %s ..." % (`pat`, path)
         hits = 0
         for fn in list:
             try: