diff profilemanager/manager.py @ 1:979315ed0816

mucho cleanup on optionparser stuff
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 05 Apr 2010 08:55:44 -0700
parents 7301d534bc6c
children 4d1cd60dd2a1
line wrap: on
line diff
--- a/profilemanager/manager.py	Sun Apr 04 18:49:55 2010 -0400
+++ b/profilemanager/manager.py	Mon Apr 05 08:55:44 2010 -0700
@@ -24,7 +24,6 @@
 
     ### (public) API
 
-    @command
     def clone(self, source, dest):
         """
         clones the profile `source` and output to `dest`
@@ -33,7 +32,7 @@
         dest_path = self.path(dest)  # fs path to back up to
         shutil.copytree(src_path, backup, symlinks=False)
 
-    @command
+
     def backup(self, profile, dest=None):
         """
         backup the profile
@@ -48,7 +47,6 @@
         # `Backup=$(profile)s.$(datestamp)s.bak`
         # to self.profiles
 
-    @command
     def restore(self, profile, date=None, delete=False):
         """
         restore the profile from a backup
@@ -60,7 +58,6 @@
             # delete the backup
             pass
 
-    @command
     def merge(self, *profiles):
         """merge a set of profiles (not trivial!)"""
         raise NotImplementedError