File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -143,16 +143,14 @@ def write_legacy_pickles():
143
143
except :
144
144
import pickle
145
145
146
- sys_version = version = pandas .__version__
147
- if len (sys .argv ) < 2 :
148
- exit ("{0} <version> <output_dir>" . format ( sys . argv [ 0 ]) )
146
+ version = pandas .__version__
147
+ if len (sys .argv ) != 2 :
148
+ exit ("Specify output directory: generate_legacy_pickles.py <output_dir>" )
149
149
150
- version = str (sys .argv [1 ])
151
- output_dir = str (sys .argv [2 ])
150
+ output_dir = str (sys .argv [1 ])
152
151
153
152
print ("This script generates a pickle file for the current arch, system, and python version" )
154
- print (" system version: {0}" .format (sys_version ))
155
- print (" output version: {0}" .format (version ))
153
+ print (" pandas version: {0}" .format (version ))
156
154
print (" output dir : {0}" .format (output_dir ))
157
155
158
156
# construct a reasonable platform name
You can’t perform that action at this time.
0 commit comments