Allura/allura/model/project.py
def bulk_export_filename(self):
        '''
        Return a filename (configurable) for this project export.  The current timestamp
        may be included, so only run this method once per export.
        '''
        shortname = self.shortname
        if self.is_nbhd_project:
            shortname = self.url().strip('/')
        elif self.is_user_project:
            shortname = self.shortname.split('/')[1]
        elif not self.is_root:
            shortname = self.shortname.split('/')[1]

        return config['bulk_export_filename'].format(project=shortname, date=datetime.utcnow())

        Return a filename (configurable) for this project export.  The current timestamp
        may be included, so only run this method once per export.
        
Return a filename (configurable) for this project export.  The current timestamp
may be included, so only run this method once per export.
Return a filename ( configurable ) for this project export . The current timestamp may be included so only run this method once per export .
def bulk_export_filename(self):
        shortname = self.shortname
        if self.is_nbhd_project:
            shortname = self.url().strip('/')
        elif self.is_user_project:
            shortname = self.shortname.split('/')[1]
        elif not self.is_root:
            shortname = self.shortname.split('/')[1]
        return config['bulk_export_filename'].format(project=shortname, date=datetime.utcnow())
def bulk_export_filename ( self ) : shortname = self . shortname if self . is_nbhd_project : shortname = self . url ( ) . strip ( '/' ) elif self . is_user_project : shortname = self . shortname . split ( '/' ) [ 1 ] elif not self . is_root : shortname = self . shortname . split ( '/' ) [ 1 ] return config [ 'bulk_export_filename' ] . format ( project = shortname , date = datetime . utcnow ( ) )
Return a filename (configurable) for this project export.
Return a filename ( configurable ) for this project export .
'''
        Return a filename (configurable) for this project export.  The current timestamp
        may be included, so only run this method once per export.
        '''
self