Skip to content

Commit

Permalink
Add import sys
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed Jun 20, 2015
1 parent 152364c commit 01cbb3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyspark/streaming/flume.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# limitations under the License.
#

import sys
if sys.version >= "3":
from io import StringIO
else:
Expand Down

0 comments on commit 01cbb3d

Please sign in to comment.