def inner_wrapper(self, *args, **kwargs): # try to find out if we have a basefile if args and args[0]: entrypath_arg = args[0] else: args = () entrypath_arg = ".root" entrypath = self.store.documententry_path args = [self] + list(args) return DocumentEntry.updateentry(f, section, entrypath, entrypath_arg, None, *args, **kwargs)
def inner_wrapper(self, *args, **kwargs): if args and args[0]: # try to find out if we have a basefile basefile = args[0] else: basefile = ".root" args = () entrypath = self.store.documententry_path(basefile) args = [self] + list(args) return DocumentEntry.updateentry(f, section, entrypath, *args, **kwargs)