Update the FSF headers.
[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 Free
17 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 # MA 02110-1301, USA, or see http://www.gnu.org/.
19
20 from rawdoglib.rawdog import main
21 import sys, os
22
23 def launch():
24         sys.exit(main(sys.argv[1:]))
25
26 if __name__ == "__main__":
27         if os.getenv("RAWDOG_PROFILE") is not None:
28                 import profile
29                 profile.run("launch()")
30         else:
31                 launch()
32