Logo Search packages:      
Sourcecode: mago version File versions  Download package

def mago::application::evolution::Evolution::open (   self,
  clean_profile = True,
  credentials = '' 
)

It saves the old profile (if needed) and
set up a new one. After this initial process,
it opens the application

@type clean_profile: boolean
@param clean_profile: True, to back up the old profile and create a 
    new one (default)
@type credentials: string
@param credentials: Path to the config file with accounts information

Definition at line 75 of file evolution.py.

00075                                                       :
        """
        It saves the old profile (if needed) and
        set up a new one. After this initial process,
        it opens the application

        @type clean_profile: boolean
        @param clean_profile: True, to back up the old profile and create a 
            new one (default)
        @type credentials: string
        @param credentials: Path to the config file with accounts information
        """
        clean_profile = clean_profile not in ('False', '0', False)
        self.creds_fn = credentials
        self.credentials = ConfigParser()
        self.credentials.read(self.creds_fn)

        if clean_profile:
            self.backup_config()

        Application.open(self)

    def generate_profile(self, profile_template, template_args=None):


Generated by  Doxygen 1.6.0   Back to index