umvarma / pynastran

Automatically exported from code.google.com/p/pynastran
1 stars 0 forks source link

NameError: global name 'os' is not defined #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
nils@linux-5fmr:~/svn/pynastran-read-only/pyNastran/op2/test> python 
op2_test.py 
Traceback (most recent call last):
  File "op2_test.py", line 103, in <module>
    main()
  File "op2_test.py", line 55, in main
    files = get_files_of_type('tests','.op2')
  File "/home/nils/svn/pynastran-read-only/pyNastran/utils/dev.py", line 16, in get_files_of_type
    return [pjoin(dirname, f) for f in os.listdir(dirname) if extension in
NameError: global name 'os' is not defined

Original issue reported on code.google.com by nils...@googlemail.com on 29 Jun 2014 at 5:23

GoogleCodeExporter commented 9 years ago

Original comment by mesheb82 on 15 Jul 2014 at 5:18