zippybr | 30 Jul 2012 21:16
Picon

SF.net SVN: freenas:[12005] trunk/gui/tools/autosnap.py

Revision: 12005
          http://freenas.svn.sourceforge.net/freenas/?rev=12005&view=rev
Author:   zippybr
Date:     2012-07-30 19:16:38 +0000 (Mon, 30 Jul 2012)
Log Message:
-----------
Fix recursive snapshots for multiple tasks

Submitted-by: monarchdodra
Approved-by: delphij

Modified Paths:
--------------
    trunk/gui/tools/autosnap.py

Modified: trunk/gui/tools/autosnap.py
===================================================================
--- trunk/gui/tools/autosnap.py	2012-07-30 19:16:16 UTC (rev 12004)
+++ trunk/gui/tools/autosnap.py	2012-07-30 19:16:38 UTC (rev 12005)
 <at>  <at>  -224,7 +224,7  <at>  <at> 

 snaptime_str = snaptime.strftime('%Y%m%d.%H%M')

-for mpkey in mp_to_task_map:
+for mpkey, tasklist in mp_to_task_map.items():
     fs, expire = mpkey
     recursive = False
     for task in tasklist:

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane