test-dbus: Remove redundant directory mapping documentation

This commit is contained in:
Chris Kühl 2011-06-27 14:34:33 +02:00 committed by Patrick Ohly
parent 93788b189b
commit a93999e269
1 changed files with 5 additions and 6 deletions

View File

@ -642,12 +642,11 @@ class DBusUtil(Timeout):
sourcedir = os.path.join(os.path.dirname(scriptpath), 'test-dbus', snapshot)
""" Directories in test/test-dbus are copied to xdg_root, but
maybe with different names, mappings are:
test/test-dbus/<snapshot> ./test-dbus
sync4j .sync4j
data data
config config
cache cache """
pairs = { 'sync4j' : '.sync4j', 'config' : 'config', 'cache' : 'cache', 'data' : 'data'}
'test/test-dbus/<snapshot>' './test-dbus'"""
pairs = { 'sync4j' : '.sync4j',
'config' : 'config' ,
'cache' : 'cache' ,
'data' : 'data' }
for src, dest in pairs.items():
destpath = os.path.join(xdg_root, dest)
# make sure the dest directory does not exist, which is required by shutil.copytree