cclauss created BEAM-3591:
-----------------------------

             Summary: Undefined name: exc_info
                 Key: BEAM-3591
                 URL: https://issues.apache.org/jira/browse/BEAM-3591
             Project: Beam
          Issue Type: Bug
          Components: sdk-py-core
            Reporter: cclauss
            Assignee: Ahmet Altay


__exc_info__ is an undefined name which might result in NameError being raised 
instead of the desired error.  Proposed fix is 
https://github.com/apache/beam/pull/4559

flake8 testing of https://github.com/apache/beam

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source 
--statistics__
```
./sdks/python/apache_beam/runners/worker/data_plane.py:185:19: F821 undefined 
name 'exc_info'
            raise exc_info[0], exc_info[1], exc_info[2]
                  ^
./sdks/python/apache_beam/runners/worker/data_plane.py:185:32: F821 undefined 
name 'exc_info'
            raise exc_info[0], exc_info[1], exc_info[2]
                               ^
./sdks/python/apache_beam/runners/worker/data_plane.py:185:45: F821 undefined 
name 'exc_info'
            raise exc_info[0], exc_info[1], exc_info[2]
                                            ^
```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to