Commits

Jason R. Coombs committed 41a0523

Use _check_prompt for other prompt

  • Participants
  • Parent commits 45cb49b

Comments (0)

Files changed (1)

File keyring/backends/SecretService.py

             "org.freedesktop.Secret.Item.Label": "%s @ %s" % (
                 username, service),
             "org.freedesktop.Secret.Item.Attributes": attributes}
-        (item, prompt) = self.collection.CreateItem(properties, secret,
-            True)
-        assert prompt == "/"
+        item, prompt = self.collection.CreateItem(properties, secret, True)
+        self._check_prompt(prompt)
 
     def delete_password(self, service, username):
         raise NotImplementedError()