error checking in dataprep
This commit is contained in:
@@ -783,6 +783,8 @@ def rdata(file,rower=rrower()):
|
||||
res = rrdata(csvfile=file+'.gz',rower=rower)
|
||||
except IOError,IndexError:
|
||||
res = 0
|
||||
except:
|
||||
res = 0
|
||||
|
||||
return res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user