|
From: <di...@us...> - 2008-03-18 15:51:51
|
Revision: 593
http://safekeep.svn.sourceforge.net/safekeep/?rev=593&view=rev
Author: dimi
Date: 2008-03-18 08:51:44 -0700 (Tue, 18 Mar 2008)
Log Message:
-----------
Frank Crawford <fr...@cr...>
* Patch client name output for --list --parsable-output option.
Modified Paths:
--------------
safekeep/trunk/safekeep
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2008-03-18 15:47:01 UTC (rev 592)
+++ safekeep/trunk/safekeep 2008-03-18 15:51:44 UTC (rev 593)
@@ -835,8 +835,12 @@
for cfg in cfgs.itervalues():
id = cfg['id']
if ids and id not in ids: continue
- info('------------------------------------------------------------------')
- info('Server listing for client %s' % id)
+ if list_parsable:
+ info('Client: %s' % id)
+ else:
+ info('------------------------------------------------------------------')
+ info('Server listing for client %s' % id)
+
args = ['rdiff-backup']
@@ -859,7 +863,8 @@
if ret:
raise Exception('Failed to run rdiff-backup')
- info('------------------------------------------------------------------')
+ if not list_parsable:
+ info('------------------------------------------------------------------')
debug('Server listing done')
def do_keys(cfgs, ids, identity, status, dump, deploy):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|