Mercurial > hg > Feedworm
comparison feedupdate-main.py @ 14:42a225be7e56
first version of the GUI
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 28 Apr 2010 02:36:00 +0200 |
parents | 591ecc2a99bd |
children | 5813e3c10f14 |
comparison
equal
deleted
inserted
replaced
13:591ecc2a99bd | 14:42a225be7e56 |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 from util import configureLogging, createSession | |
4 from Feed import Feed | 3 from Feed import Feed |
5 from FeedUpdater import updateAllFeeds | 4 from FeedUpdater import updateAllFeeds |
6 import logging | 5 import logging |
6 from util import configureLogging, createSession | |
7 | 7 |
8 logger = logging.getLogger("feedupdater") | 8 logger = logging.getLogger("feedupdater") |
9 | 9 |
10 def createFeed(session): | 10 def createFeed(session): |
11 if len(session.query(Feed).all()) == 0: | 11 if len(session.query(Feed).all()) == 0: |