Commits

Christian Ebert committed 9d5d423

kiosk: pass keyword argument to mkstemp

  • Participants
  • Parent commits ca16abe

Comments (0)

Files changed (1)

     def kiosktest(self):
         '''Provides the path to an mbox file to store retrieved messages.'''
         if not self.ui.kiosk:
-            self.ui.kiosk = tempfile.mkstemp('', 'kiosk.')[1]
+            self.ui.kiosk = tempfile.mkstemp(prefix='kiosk.')[1]
             return
         self.ui.kiosk = util.absolutepath(self.ui.kiosk)
         if (not os.path.exists(self.ui.kiosk) or