# HG changeset patch # User ymh # Date 1339663706 -7200 # Node ID 66facca7e79b0e3ad1a23cbba459ddf511bf816b # Parent cb842369c5cab2dca656a36d570e68397e76cdc9# Parent b87b4aeed5d1acf38c69284519c182c1a7d03543 Merge with b87b4aeed5d1acf38c69284519c182c1a7d03543 diff -r b87b4aeed5d1 -r 66facca7e79b sbin/sync/fabfile.py --- a/sbin/sync/fabfile.py Wed Jun 13 18:34:23 2012 +0200 +++ b/sbin/sync/fabfile.py Thu Jun 14 10:48:26 2012 +0200 @@ -206,7 +206,7 @@ relaunch_server() @task -def update_ldt(version): +def update_lib(version, package): print(green("update ldt with version %s" % version)) export_path = export_version(version) lib_path = os.path.join(export_path, "virtualenv", "res", "lib") @@ -216,9 +216,9 @@ f, pathname, description = imp.find_module("lib_create_env", [lib_path]) lib_create_env = imp.load_module("lib_create_env", f, pathname, description) - ldt_path = os.path.join(export_path, "virtualenv", "res", "src", lib_create_env.URLS['LDT']['local']) + package_path = os.path.join(export_path, "virtualenv", "res", "src", lib_create_env.URLS[package]['local']) - sync_install_build(ldt_path) + sync_install_build(package_path) clean_export_folder(export_path) relaunch_server()