def msgretrieval(self): '''Passes message-id and relevant options to kiosk.''' yorn = self.rawinput('retrieve message-id <%s>? yes [No] ' % self.items[0]) if yorn.lower() in ('y', 'yes'): k = kiosk.kiosk(self.ui, items=self.items) k.kioskstore()
def urlgo(self): if self.ui.proto == 'mid': k = kiosk.kiosk(self.ui, items=self.items) k.kioskstore() elif self.ui.getdir: uget = wget.wget(self.ui) uget.download(self.items) else: b = pybrowser.browser(parentui=self.ui, items=self.items) b.urlvisit()