@property
def banner(self):
    banner = self.banner1
    if (self.profile and (self.profile != 'default')):
        banner += ('\nIPython profile: %s\n' % self.profile)
    if self.banner2:
        banner += ('\n' + self.banner2)
    return banner
@property
def banner(self):
    banner = self.banner1
    if (self.profile and (self.profile != 'default')):
        banner += ('\nIPython profile: %s\n' % self.profile)
    if self.banner2:
        banner += ('\n' + self.banner2)
    return banner