Пример #1
0
 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()
Пример #2
0
 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()
Пример #3
0
 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()
Пример #4
0
 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()