Changeset 593 for trunk/email2trac.py.in
- Timestamp:
- 05/01/12 16:03:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r592 r593 1 1 #!@PYTHON@ 2 # Copyright (C) 2002 2 # Copyright (C) 2002 3 3 # 4 4 # This file is part of the email2trac utils 5 5 # 6 # This program is free software; you can redistribute it and/or modify it 7 # under the terms of the GNU General Public License as published by the 8 # Free Software Foundation; either version 2, or (at your option) any 9 # later version. 6 # Licensed to the Apache Software Foundation (ASF) under one 7 # or more contributor license agreements. See the NOTICE file 8 # distributed with this work for additional information 9 # regarding copyright ownership. The ASF licenses this file 10 # to you under the Apache License, Version 2.0 (the 11 # "License"); you may not use this file except in compliance 12 # with the License. You may obtain a copy of the License at 10 13 # 11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # GNU General Public License for more details. 14 # http://www.apache.org/licenses/LICENSE-2.0 15 15 # 16 # You should have received a copy of the GNU General Public License 17 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 16 # Unless required by applicable law or agreed to in writing, 17 # software distributed under the License is distributed on an 18 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 # KIND, either express or implied. See the License for the 20 # specific language governing permissions and limitations 21 # under the License. 19 22 # 20 23 # For vi/emacs or other use tabstop=4 (vi: set ts=4) … … 69 72 from stat import * 70 73 71 72 from trac import __version__ as trac_version 73 from trac import config as trac_config 74 try: 75 from trac import __version__ as trac_version 76 from trac import config as trac_config 77 78 except ImportError, detail: 79 print "Can not find a a valid trac installation, try setting PYTHONPATH" 80 sys.exit(1) 74 81 75 82 ## Some global variables
Note: See TracChangeset
for help on using the changeset viewer.