changeset 63:2f58555b3b28

correct variable names
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 12:16:05 -0700
parents e29fed5097c3
children 18f16bd1ba6b
files profilemanager/manager.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/profilemanager/manager.py	Fri May 07 12:11:47 2010 -0700
+++ b/profilemanager/manager.py	Fri May 07 12:16:05 2010 -0700
@@ -183,7 +183,7 @@
         if 'Backups' not in profile_dict:
             return []
         backups = profile_dict['Backups'].split(':')
-        backup_dirs = []
+        backups_dirs = []
         for backup in backups:
             if os.path.isabs(backup):
                 backup_dir = backup
@@ -197,9 +197,9 @@
 
         # format to datestamps, if applicable
         if datestamp:
-            backup_dirs = [ (i[0], time.strftime(datestamp,
+            backups_dirs = [ (i[0], time.strftime(datestamp,
                                                  time.localtime(int(i[1]))))
-                            for i in backup_dirs ]
+                             for i in backups_dirs ]
 
         return backups_dirs