Changeset 593 for trunk/email2trac.py.in


Ignore:
Timestamp:
05/01/12 16:03:23 (12 years ago)
Author:
bas
Message:

Changed license to apache version 2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r592 r593  
    11#!@PYTHON@
    2 # Copyright (C) 2002
     2# Copyright (C) 2002 
    33#
    44# This file is part of the email2trac utils
    55#
    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
    1013#
    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
    1515#
    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.
    1922#
    2023# For vi/emacs or other use tabstop=4 (vi: set ts=4)
     
    6972from stat import *
    7073
    71 
    72 from trac import __version__ as trac_version
    73 from trac import config as trac_config
     74try:
     75    from trac import __version__ as trac_version
     76    from trac import config as trac_config
     77
     78except ImportError, detail:
     79    print "Can not find a a valid trac installation, try setting PYTHONPATH"
     80    sys.exit(1)
    7481
    7582## Some global variables
Note: See TracChangeset for help on using the changeset viewer.