# HG changeset patch # User Jeff Hammel # Date 1270498231 25200 # Node ID 4d1cd60dd2a1c4f40597d0a7e331ec649995274e # Parent fc0dabd2269f040c20a15081e3c0456b4b0140c6 misc tweaks diff -r fc0dabd2269f -r 4d1cd60dd2a1 profilemanager/command.py --- 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__) diff -r fc0dabd2269f -r 4d1cd60dd2a1 profilemanager/manager.py --- 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