~msapiro/mailman/topics

« back to all changes in this revision

Viewing changes to misc/paths.py.in

  • Committer: Mark Sapiro
  • Date: 2008-12-03 01:11:33 UTC
  • mfrom: (984.1.160 2.1)
  • mto: (1006.1.48 2.2)
  • mto: This revision was merged to the branch mainline in revision 1008.
  • Revision ID: mark@msapiro.net-20081203011133-4rrgvnkjtkv3qjlg
Merged Python 2.6 and other changes from the 2.1 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- python -*-
2
2
 
3
 
# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
 
3
# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
4
4
#
5
5
# This program is free software; you can redistribute it and/or
6
6
# modify it under the terms of the GNU General Public License
36
36
if exec_prefix == '${prefix}':
37
37
    exec_prefix = prefix
38
38
 
39
 
# Supress Python 2.5 warning about string exceptions.
40
 
filterwarnings('ignore', '.* string exception', DeprecationWarning)
41
 
 
42
39
# Check if ja/ko codecs are available before changing path.
43
40
try:
44
41
    s = unicode('OK', 'iso-2022-jp')