~ubuntu-branches/ubuntu/jaunty/pyroom/jaunty

« back to all changes in this revision

Viewing changes to pyroom

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2008-09-22 21:29:18 UTC
  • Revision ID: james.westby@ubuntu.com-20080922212918-hxjf6k2ktsud3jhn
Tags: upstream-0.3.1.1
ImportĀ upstreamĀ versionĀ 0.3.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
# -*- coding:utf-8 -*-
 
3
 
 
4
# -----------------------------------------------------------------------------
 
5
# PyRoom - A clone of WriteRoom
 
6
# Copyright (c) 2007 Nicolas P. Rougier & NoWhereMan
 
7
# Copyright (c) 2008 The Pyroom Team - See AUTHORS file for more information
 
8
#
 
9
# This program is free software: you can redistribute it and/or modify it under
 
10
# the terms of the GNU General Public License as published by the Free Software
 
11
# Foundation, either version 3 of the License, or (at your option) any later
 
12
# version.
 
13
#
 
14
# This program is distributed in the hope that it will be useful, but WITHOUT
 
15
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
16
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 
17
# details.
 
18
#
 
19
# You should have received a copy of the GNU General Public License along with
 
20
# this program.  If not, see <http://www.gnu.org/licenses/>.
 
21
# -----------------------------------------------------------------------------
 
22
 
 
23
"""
 
24
PyRoom - A clone of WriteRoom
 
25
=============================
 
26
 
 
27
Based on code posted on ubuntu forums by NoWhereMan (www.nowhereland.it)
 
28
(Ubuntu thread was "WriteRoom/Darkroom/?")
 
29
 
 
30
:copyright: 2007 Nicolas P. Rougier & NoWhereMan Copyright
 
31
:copyright: 2008 The PyRoom Theme - See AUTHORS file for more information
 
32
:license: GNU General Public License, version 3 or later
 
33
"""
 
34
 
 
35
import sys, PyRoom.cmdline
 
36
 
 
37
try:
 
38
    sys.exit(PyRoom.cmdline.main())
 
39
except KeyboardInterrupt:
 
40
    sys.exit(1)