예제 #1
0
파일: urlpager.py 프로젝트: cwarden/muttils
 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()