pvl.backup-snapshot: fix --target
authorTero Marttila <terom@paivola.fi>
Sun, 22 Apr 2012 14:08:01 +0300
changeset 53 f17c2733417a
parent 52 0c8413b35dd3
child 54 12fbf099be99
pvl.backup-snapshot: fix --target
bin/pvl.backup-snapshot
--- a/bin/pvl.backup-snapshot	Sun Apr 22 14:00:02 2012 +0300
+++ b/bin/pvl.backup-snapshot	Sun Apr 22 14:08:01 2012 +0300
@@ -322,7 +322,7 @@
 
     @classmethod
     def from_config (cls, options, name,
-        path            = False,
+        path            = None,
         source          = None,
         enable          = 'no',
         exclude_from    = None,
@@ -722,7 +722,7 @@
  
     # manual?
     if options.target :
-        options.targets['console'] = Target.from_config(
+        options.targets['console'] = Target.from_config(options, 'console',
             path        = options.target,
             source      = options.target_source,
             intervals   = dict((name, None) for name in options.target_intervals),