sbin/sync/fabfile.py
changeset 9 4fb252f37428
parent 7 fc1eea0039d8
child 11 fc7cc9667de1
equal deleted inserted replaced
8:9847c70242cf 9:4fb252f37428
   210     #sync web
   210     #sync web
   211     web_path = os.path.join(export_path,"web/") 
   211     web_path = os.path.join(export_path,"web/") 
   212     rsync_export(web_path, env.remote_path['web'], env.rsync_filters['web'])
   212     rsync_export(web_path, env.remote_path['web'], env.rsync_filters['web'])
   213     #sync src
   213     #sync src
   214     src_path = os.path.join(export_path,"src/") 
   214     src_path = os.path.join(export_path,"src/") 
   215     rsync_export(src_path, env.remote_path['src'], env.rsync_filters['web'])
   215     rsync_export(src_path, env.remote_path['src'], env.rsync_filters['src'])
   216         
   216         
   217     
   217     
   218 def check_folder_access():
   218 def check_folder_access():
   219     print("Check folder access")
   219     print("Check folder access")
   220     # get remote user
   220     # get remote user