diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2013-04-27 15:57:16 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2013-04-27 15:57:16 +0000 |
commit | bfd963a8d0744b35d2c9acd4b82023eadad3a02d (patch) | |
tree | 082e8514fa08b7284e048206e762c4c1bc3e59cf /mail/svnmailer/files/py25-src-lib-svnmailer-notifier-_base.py | |
parent | - Update to 0.10 (diff) |
- rename patch, since it's now applied uncoditionally and remove EXTRA_PATCHES[1]
- remove indefinite article from COMMENT
- eliminate PYTHON_SITELIBDIR from dependencies
- limit python version to 2.x only
Non-functional changes, so no PORTREVISION bump is required
Discussed with: eadler
Diffstat (limited to 'mail/svnmailer/files/py25-src-lib-svnmailer-notifier-_base.py')
-rw-r--r-- | mail/svnmailer/files/py25-src-lib-svnmailer-notifier-_base.py | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/mail/svnmailer/files/py25-src-lib-svnmailer-notifier-_base.py b/mail/svnmailer/files/py25-src-lib-svnmailer-notifier-_base.py deleted file mode 100644 index f74a54cf159b..000000000000 --- a/mail/svnmailer/files/py25-src-lib-svnmailer-notifier-_base.py +++ /dev/null @@ -1,45 +0,0 @@ ---- src/lib/svnmailer/notifier/_base.py.orig 2005-09-25 14:51:23.000000000 +0000 -+++ src/lib/svnmailer/notifier/_base.py 2007-08-20 17:29:23.000000000 +0000 -@@ -376,7 +376,6 @@ - :return: The two encodings (``('enc1', 'enc2')``) - :rtype: ``tuple`` - """ -- from encodings import exceptions - - enc1 = enc2 = default - if not change.wasAdded() or change.wasCopied(): -@@ -384,7 +383,7 @@ - enc1 = self._getContentEncoding( - change.getBasePath(), change.getBaseRevision() - ) -- except exceptions.LookupError: -+ except LookupError: - """ fall back """ - pass - -@@ -395,7 +394,7 @@ - enc2 = self._getContentEncoding( - change.path, change.revision - ) -- except exceptions.LookupError: -+ except LookupError: - """ fall back """ - pass - -@@ -423,7 +422,6 @@ - The specified encoding is not implemented or no encoding - was specified - """ -- from encodings import exceptions - - # first try the svn:mime-type - enc = self.getEncodingFromMimeType(path, revision) -@@ -461,7 +459,7 @@ - codecs.lookup(enc) - return enc - -- raise exceptions.LookupError("No Encoding configured") -+ raise LookupError("No Encoding configured") - - - def getEncodingFromMimeType(self, path, revision): |