freebsd-ports/devel/py-utils/files/patch-python25
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

35 lines
995 B
Text

--- pythonutils/pathutils.py.orig Fri Mar 30 06:39:37 2007
+++ pythonutils/pathutils.py Fri Mar 30 06:39:49 2007
@@ -14,13 +14,13 @@
# Scripts maintained at http://www.voidspace.org.uk/python/index.shtml
# E-mail fuzzyman@voidspace.org.uk
+from __future__ import generators
"""
This module contains convenience functions for working with files and paths.
"""
__version__ = '0.2.4'
-from __future__ import generators
import os
import sys
import time
--- pythonutils/odict.py.orig Fri Mar 30 06:41:25 2007
+++ pythonutils/odict.py Fri Mar 30 06:41:35 2007
@@ -14,6 +14,7 @@
# http://groups.google.com/group/pythonutils/
# Comments, suggestions and bug reports welcome.
+from __future__ import generators
"""A dict that keeps keys in insertion order"""
__author__ = ('Nicola Larosa <nico-NoSp@m-tekNico.net>,'
@@ -27,7 +28,6 @@
__all__ = ['OrderedDict', 'SequenceOrderedDict']
-from __future__ import generators
from warnings import warn
from types import SliceType