diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-04 16:24:43 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-04 16:25:01 +0200 |
commit | 708f71beaa95a4725d09eda8c560cd8faf6feff1 (patch) | |
tree | 2cb848466ef44aa50882c20cd82534f115a0a2cc /bin/updater.py | |
parent | 97e3c59c7a7b62fa408dcdf05276e80de706233c (diff) |
remove fixed todos
Diffstat (limited to 'bin/updater.py')
-rw-r--r-- | bin/updater.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/updater.py b/bin/updater.py index 7af263f11..994c2928f 100644 --- a/bin/updater.py +++ b/bin/updater.py @@ -50,10 +50,6 @@ class Updater: def run(self): - # TODO: make a request to the cleanup route - # TODO: get all feeds and update them in seperate threads - - # TODO: also check for the other URLErrors try: auth = HTTPPasswordMgrWithDefaultRealm() auth.add_password(None, self.base_url, self.user, self.password) @@ -63,8 +59,10 @@ class Updater: urlopen(self.cleanup_url) feeds = urlopen(self.all_feeds_url).read() - print(feeds) + # TODO: parse feeds and thread the requests + + # TODO: also check for the other URLErrors except (ValueError, HTTPError): print('%s is either not valid or does not exist' % self.base_url) exit(1) |