diff options
Diffstat (limited to 'Lib/trace.py')
-rw-r--r-- | Lib/trace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/trace.py b/Lib/trace.py index b694c15..8a31d8e 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -674,7 +674,7 @@ def main(argv=None): ignoremods=ignore_modules, ignoredirs=ignore_dirs, infile=counts_file, outfile=counts_file) try: - t.run('execfile(' + `progname` + ')') + t.run('execfile(%r)' % (progname,)) except IOError, err: _err_exit("Cannot run file %r because: %s" % (sys.argv[0], err)) except SystemExit: |