environment/lib/python2.7/site-packages/IPython/parallel/apps/launcher.py
def _remote_profile_dir_default(self):
        """turns /home/you/.ipython/profile_foo into .ipython/profile_foo
        """
        home = get_home_dir()
        if not home.endswith('/'):
            home = home+'/'
        
        if self.profile_dir.startswith(home):
            return self.profile_dir[len(home):]
        else:
            return self.profile_dir
def _remote_profile_dir_default(self):
        """turns /home/you/.ipython/profile_foo into .ipython/profile_foo
        """
        home = get_home_dir()
        if not home.endswith('/'):
            home = home+'/'
        
        if self.profile_dir.startswith(home):
            return self.profile_dir[len(home):]
        else:
            return self.profile_dir
def _remote_profile_dir_default ( self ) : home = get_home_dir ( ) if not home . endswith ( '/' ) : home = home + '/' if self . profile_dir . startswith ( home ) : return self . profile_dir [ len ( home ) : ] else : return self . profile_dir
turns /home/you/.ipython/profile_foo into .ipython/profile_foo
turns / home / you / . ipython / profile_foo into . ipython / profile_foo