changeset 3:4d1cd60dd2a1

misc tweaks
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 05 Apr 2010 13:10:31 -0700
parents fc0dabd2269f
children 35dc297efa25
files profilemanager/command.py profilemanager/manager.py
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/profilemanager/command.py	Mon Apr 05 09:27:23 2010 -0700
+++ b/profilemanager/command.py	Mon Apr 05 13:10:31 2010 -0700
@@ -160,5 +160,5 @@
             commandparser.error("Too many arguments given")
 
         # invoke the command
-        getattr(_object, name)(*command_args, **command_options.__dict__)
+        print getattr(_object, name)(*command_args, **command_options.__dict__)
 
--- a/profilemanager/manager.py	Mon Apr 05 09:27:23 2010 -0700
+++ b/profilemanager/manager.py	Mon Apr 05 13:10:31 2010 -0700
@@ -5,8 +5,6 @@
 import os
 import shutil
 
-from command import command
-
 class ProfileNotFound(Exception):
     """
     exception when a profile is specified but is not present in a given
@@ -20,7 +18,7 @@
         - profiles: profiles.ini file
         """
         self.profiles = profiles
-        self.directory = '' # TODO : path to self.profiles directory
+        self.profile_dir = ''
 
     ### (public) API