Skip to content

Commit

Permalink
SPARK-1917: fix PySpark import of scipy.special
Browse files Browse the repository at this point in the history
  • Loading branch information
laserson committed May 23, 2014
1 parent b2bdd0e commit 1798bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/cloudpickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ def _change_cell_value(cell, newval):
Note: These can never be renamed due to client compatibility issues"""

def _getobject(modname, attribute):
mod = __import__(modname)
mod = __import__(modname, fromlist=[attribute])
return mod.__dict__[attribute]

def _generateImage(size, mode, str_rep):
Expand Down

0 comments on commit 1798bbd

Please sign in to comment.