(self)
Get the name of last xarchived segment.
Get the name of last xarchived segment.
Get the name of last xarchived segment .
def get_last_complete(self):
        """Get the name of last xarchived segment."""

        data_dir = self.cf.getfile("master_data")
        fn = os.path.join(data_dir, ".walshipping.last")
        try:
            last = open(fn, "r").read().strip()
            return last
        except:
            self.log.info("Failed to read %s", fn)
            return None
def get_last_complete ( self ) : data_dir = self . cf . getfile ( "master_data" ) fn = os . path . join ( data_dir , ".walshipping.last" ) try : last = open ( fn , "r" ) . read ( ) . strip ( ) return last except : self . log . info ( "Failed to read %s" , fn ) return None