1. anatoly techtonik
  2. xtrace
  3. Issues
Issue #3 resolved

Unable to xtrace indef.py

anatoly techtonik
repo owner created an issue

xtrace 0.4 fails to trace the following file. The file is traced, but the output is unexpected - it fails with:

...
    print subprocess.check_output(['hg', 'id', '-nib'])
NameError: global name 'subprocess' is not defined
import subprocess

def ret():
  print subprocess.check_output(['hg', 'id', '-nib'])

ret()