def upload_dev(user='pandas'):
 if os.system('cd build/html; rsync -avz . {0}@pandas.pydata.org:/usr/share/nginx/pandas/pandas-docs/dev/ -essh'.format(user)):
  raise SystemExit('Upload to Pydata Dev failed')

def upload_dev ( user = 'pandas' ) : if os . system ( 'cd build/html; rsync -avz . {0}@pandas.pydata.org:/usr/share/nginx/pandas/pandas-docs/dev/ -essh' . format ( user ) ) : raise SystemExit ( 'Upload to Pydata Dev failed' )
push a copy to the pydata dev directory .