Mercurial > treepkg
comparison bin/publishpackages.py @ 439:8e0c81870e5e treepkg-status
cleanup modules
fix test_info testcases
added testcases for remove_trailingslashes and expand_filename
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Fri, 06 Aug 2010 11:06:08 +0000 |
parents | c7f4da26f1d4 |
children | eadcb1bb54e2 |
comparison
equal
deleted
inserted
replaced
438:3a3cad8f6f60 | 439:8e0c81870e5e |
---|---|
17 | 17 |
18 import treepkgcmd | 18 import treepkgcmd |
19 from treepkg.readconfig import read_config_section, convert_bool | 19 from treepkg.readconfig import read_config_section, convert_bool |
20 from treepkg.run import call, capture_output | 20 from treepkg.run import call, capture_output |
21 from treepkg.cmdexpand import cmdexpand | 21 from treepkg.cmdexpand import cmdexpand |
22 from treepkg.util import ensure_directory, listdir_abs | 22 from treepkg.util import ensure_directory, listdir_abs, \ |
23 from treepkg.publish import remove_trailing_slashes, expand_filename | 23 remove_trailing_slashes, expand_filename |
24 from treepkg.publish import prefix_for_remote_command, copy_to_publishdir | 24 from treepkg.publish import prefix_for_remote_command, copy_to_publishdir |
25 | 25 |
26 config_desc = ["distribution", "section", "num_newest", | 26 config_desc = ["distribution", "section", "num_newest", |
27 "build_user", "build_host", "build_listpackages", | 27 "build_user", "build_host", "build_listpackages", |
28 "publish_user", "publish_host", | 28 "publish_user", "publish_host", |