(self)
Create LATEST version of provided file (last existed + 1)
Create LATEST version of provided file (last existed + 1)
Create LATEST version of provided file ( last existed + 1 )
def build_latest_file_version(self):
        '''
        Create LATEST version of provided file (last existed + 1)
        '''

        latest_version = self.calculate_last_version() + 1
        self.file_version = '{0:03d}'.format(latest_version)
        if self.folder_version:
            self.folder_version = self.file_version

        self.rebuild_path()
        self.analyze_file_path()
def build_latest_file_version ( self ) : latest_version = self . calculate_last_version ( ) + 1 self . file_version = '{0:03d}' . format ( latest_version ) if self . folder_version : self . folder_version = self . file_version self . rebuild_path ( ) self . analyze_file_path ( )