Rework write() to make it easier for plugins to replace it.
[rawdog/.git] / rawdog
1 #!/usr/bin/env python
2 # rawdog: RSS aggregator without delusions of grandeur.
3 # Copyright 2003, 2004, 2005 Adam Sampson <ats@offog.org>
4 #
5 # rawdog is free software; you can redistribute and/or modify it
6 # under the terms of that license as published by the Free Software
7 # Foundation; either version 2 of the License, or (at your option)
8 # any later version.
9 #
10 # rawdog is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with rawdog; see the file COPYING. If not, write to the
17 # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18 # MA 02111-1307 USA, or see http://www.gnu.org/.
19
20 from rawdoglib.rawdog import main
21 import sys
22
23 if __name__ == "__main__":
24         sys.exit(main(sys.argv[1:]))
25