diff options
| author | Barry Warsaw | 2012-03-03 13:40:16 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-03 13:40:16 -0500 |
| commit | e09c13199c2a60724ee601902a51a816e627e024 (patch) | |
| tree | a203d3fd90e90ba4bb94e140a2f26e1b3b6f1827 /src/mailman/config/config.py | |
| parent | 07aa6808fbc5288592c5a41c658882ad37756fca (diff) | |
| download | mailman-e09c13199c2a60724ee601902a51a816e627e024.tar.gz mailman-e09c13199c2a60724ee601902a51a816e627e024.tar.zst mailman-e09c13199c2a60724ee601902a51a816e627e024.zip | |
Diffstat (limited to 'src/mailman/config/config.py')
| -rw-r--r-- | src/mailman/config/config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/config/config.py b/src/mailman/config/config.py index 89d9e39ad..034b76b4f 100644 --- a/src/mailman/config/config.py +++ b/src/mailman/config/config.py @@ -17,7 +17,7 @@ """Configuration file loading and management.""" -from __future__ import absolute_import, unicode_literals +from __future__ import absolute_import, print_function, unicode_literals __metaclass__ = type __all__ = [ @@ -152,7 +152,7 @@ class Configuration: if category.name == layout: break else: - print >> sys.stderr, 'No path configuration found:', layout + print('No path configuration found:', layout, file=sys.stderr) sys.exit(1) # First, collect all variables in a substitution dictionary. $VAR_DIR # is taken from the environment or from the configuration file if the @@ -202,7 +202,7 @@ class Configuration: if dollar_count == 0: break if dollar_count == last_dollar_count: - print >> sys.stderr, 'Path expansion infloop detected' + print('Path expansion infloop detected', file=sys.stderr) sys.exit(1) last_dollar_count = dollar_count # Ensure that all paths are normalized and made absolute. Handle the |
