Example #1
0
 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)
Example #2
0
 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)