"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Tardis/Client.py" between
Tardis-1.0.4.tar.gz and Tardis-1.0.5.tar.gz

About: Tardis is a system for making encrypted, incremental backups of filesystems.

Client.py  (Tardis-1.0.4):Client.py  (Tardis-1.0.5)
skipping to change at line 1025 skipping to change at line 1025
if purgePriority: if purgePriority:
message['priority'] = purgePriority message['priority'] = purgePriority
if purgeTime: if purgeTime:
message.update( { 'time': purgeTime, 'relative': relative }) message.update( { 'time': purgeTime, 'relative': relative })
batchMessage(message, flush=True, batch=False) batchMessage(message, flush=True, batch=False)
def sendDirChunks(path, inode, files): def sendDirChunks(path, inode, files):
""" Chunk the directory into dirslice sized chunks, and send each sequential ly """ """ Chunk the directory into dirslice sized chunks, and send each sequential ly """
if crypt: if crypt:
path = crypt.encryptPath(path) path = crypt.encryptPath(path.decode(systemencoding, 'replace'))
message = { message = {
'message': 'DIR', 'message': 'DIR',
'path' : path, 'path' : path,
'inode' : list(inode), 'inode' : list(inode),
} }
chunkNum = 0 chunkNum = 0
for x in range(0, len(files), args.dirslice): for x in range(0, len(files), args.dirslice):
if verbosity > 3: if verbosity > 3:
logger.debug("---- Generating chunk %d ----", chunkNum) logger.debug("---- Generating chunk %d ----", chunkNum)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)