Skip to content

Commit ffb4d29

Browse files
committed
make lint-python happy for python3
1 parent 0652966 commit ffb4d29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/pyspark/sql/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
import py4j
1919
import sys
2020

21+
if sys.version_info.major >= 3:
22+
unicode = str
23+
2124

2225
class CapturedException(Exception):
2326
def __init__(self, desc, stackTrace, cause=None):

0 commit comments

Comments
 (0)