Added keyring_backend to the settings tuple.
This commit is contained in:
parent
9324f06a3c
commit
7fa5c10787
@ -1,6 +1,4 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
__author__ = 'facetoe'
|
|
||||||
from keyring.backend import KeyringBackend
|
from keyring.backend import KeyringBackend
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ class Github(IntervalModule):
|
|||||||
|
|
||||||
settings = (
|
settings = (
|
||||||
('format', 'format string'),
|
('format', 'format string'),
|
||||||
|
('keyring_backend', 'alternative keyring backend for retrieving credentials'),
|
||||||
('unread_marker', 'sets the string that the "unread" formatter shows when there are pending notifications'),
|
('unread_marker', 'sets the string that the "unread" formatter shows when there are pending notifications'),
|
||||||
("username", ""),
|
("username", ""),
|
||||||
("password", ""),
|
("password", ""),
|
||||||
|
@ -16,6 +16,7 @@ class IMAP(Backend):
|
|||||||
settings = (
|
settings = (
|
||||||
"host", "port",
|
"host", "port",
|
||||||
"username", "password",
|
"username", "password",
|
||||||
|
('keyring_backend', 'alternative keyring backend for retrieving credentials'),
|
||||||
"ssl",
|
"ssl",
|
||||||
"mailbox",
|
"mailbox",
|
||||||
)
|
)
|
||||||
|
@ -20,6 +20,7 @@ class ModsDeChecker(IntervalModule):
|
|||||||
settings = (
|
settings = (
|
||||||
("format",
|
("format",
|
||||||
"""Use {unread} as the formatter for number of unread posts"""),
|
"""Use {unread} as the formatter for number of unread posts"""),
|
||||||
|
('keyring_backend', 'alternative keyring backend for retrieving credentials'),
|
||||||
("offset", """subtract number of posts before output"""),
|
("offset", """subtract number of posts before output"""),
|
||||||
"color", "username", "password"
|
"color", "username", "password"
|
||||||
)
|
)
|
||||||
|
@ -29,7 +29,8 @@ class pyLoad(IntervalModule):
|
|||||||
"format",
|
"format",
|
||||||
"captcha_true", "captcha_false",
|
"captcha_true", "captcha_false",
|
||||||
"download_true", "download_false",
|
"download_true", "download_false",
|
||||||
"username", "password"
|
"username", "password",
|
||||||
|
('keyring_backend', 'alternative keyring backend for retrieving credentials'),
|
||||||
)
|
)
|
||||||
required = ("username", "password")
|
required = ("username", "password")
|
||||||
keyring_backend = None
|
keyring_backend = None
|
||||||
|
@ -35,6 +35,7 @@ class Reddit(IntervalModule):
|
|||||||
("format", "Format string used for output."),
|
("format", "Format string used for output."),
|
||||||
("username", "Reddit username."),
|
("username", "Reddit username."),
|
||||||
("password", "Reddit password."),
|
("password", "Reddit password."),
|
||||||
|
('keyring_backend', 'alternative keyring backend for retrieving credentials'),
|
||||||
("subreddit", "Subreddit to monitor. Uses frontpage if unspecified."),
|
("subreddit", "Subreddit to monitor. Uses frontpage if unspecified."),
|
||||||
("sort_by", "'hot', 'new', 'rising', 'controversial', or 'top'."),
|
("sort_by", "'hot', 'new', 'rising', 'controversial', or 'top'."),
|
||||||
("color", "Standard color."),
|
("color", "Standard color."),
|
||||||
|
@ -5,7 +5,6 @@ from bs4 import BeautifulSoup
|
|||||||
|
|
||||||
|
|
||||||
class WhosOnLocation():
|
class WhosOnLocation():
|
||||||
|
|
||||||
email = None
|
email = None
|
||||||
password = None
|
password = None
|
||||||
session = None
|
session = None
|
||||||
@ -68,6 +67,7 @@ class WOL(IntervalModule):
|
|||||||
password = None
|
password = None
|
||||||
|
|
||||||
settings = (
|
settings = (
|
||||||
|
('keyring_backend', 'alternative keyring backend for retrieving credentials'),
|
||||||
'email',
|
'email',
|
||||||
'password'
|
'password'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user