-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tld: add .tldcache command #1949
Conversation
Yes, #1948 being accepted would mean that I should change the imports in here. |
This pull request introduces 1 alert when merging 852a1c0 into 54e4274 - view on LGTM.com new alerts:
|
That import thing that both LGTM and Travis flagged is exactly why I also opened #1948. Ignoring until that's either merged or dismissed with cause. |
852a1c0
to
c35f57b
Compare
I probably won't see until tonight, but that force-push should pass CI now that #1948 got merged. |
Looks like I already have something to fix when I get home: py2.7 doesn't have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from that missing import pytz
that should do it.
Allows viewing last update time, forcing the cached data to update, and clearing the cached data from both bot memory and the bot's database. Perhaps a *bit* messier than it could be, but I'm tired of resetting my test bot's database values for tonight.
c35f57b
to
5e45e6d
Compare
@Exirel Believe it or not, I had already come up with the exact same changes on my own by the time your suggestions hit my email inbox. (And even if not, I'm also too lazy to apply suggestions and rebase when I could just |
Description
Allows viewing last update time for both caches, forcing the cached data to update, and clearing the cached data from both bot memory and the bot's database.
Perhaps a bit messier than it could be, but I'm tired of resetting my test bot's database values for tonight.
Not mentioned in commit log: This change means anyone running from source will have to manually delete the 'tld' plugin's stored plugin values from the database, as the timestamp format has changed.
Checklist
make qa
(runsmake quality
andmake test
)