* [gentoo-commits] gentoo-x86 commit in dev-util/svnmailer/files: svnmailer-1.0.8-python2.5.diff
@ 2008-04-06 13:41 Hanno Boeck (hanno)
0 siblings, 0 replies; 2+ messages in thread
From: Hanno Boeck (hanno) @ 2008-04-06 13:41 UTC (permalink / raw
To: gentoo-commits
hanno 08/04/06 13:41:22
Added: svnmailer-1.0.8-python2.5.diff
Log:
svnmailer python 2.5 support
(Portage version: 2.1.5_rc2)
Revision Changes Path
1.1 dev-util/svnmailer/files/svnmailer-1.0.8-python2.5.diff
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/svnmailer/files/svnmailer-1.0.8-python2.5.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/svnmailer/files/svnmailer-1.0.8-python2.5.diff?rev=1.1&content-type=text/plain
Index: svnmailer-1.0.8-python2.5.diff
===================================================================
Index: src/lib/svnmailer/notifier/_base.py
===================================================================
--- src/lib/svnmailer/notifier/_base.py
+++ src/lib/svnmailer/notifier/_base.py 2007-05-01 00:54:23.000000000 +0200
@@ -345,7 +345,6 @@
@return: The two encodings
@rtype: C{tuple} of C{str}
"""
- from encodings import exceptions
enc1 = enc2 = default
if not change.wasAdded() or change.wasCopied():
@@ -353,7 +352,7 @@
enc1 = self._getContentEncoding(
change.getBasePath(), change.getBaseRevision()
)
- except exceptions.LookupError:
+ except LookupError:
# fall back
pass
@@ -364,7 +363,7 @@
enc2 = self._getContentEncoding(
change.path, change.revision
)
- except exceptions.LookupError:
+ except LookupError:
# fall back
pass
@@ -389,7 +388,6 @@
@exception encodings.exception.LookupError: 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)
@@ -427,7 +425,7 @@
codecs.lookup(enc)
return enc
- raise exceptions.LookupError("No Encoding configured")
+ raise LookupError("No Encoding configured")
def getEncodingFromMimeType(self, path, revision):
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-util/svnmailer/files: svnmailer-1.0.8-python2.5.diff
@ 2010-03-06 21:15 Ulrich Mueller (ulm)
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Mueller (ulm) @ 2010-03-06 21:15 UTC (permalink / raw
To: gentoo-commits
ulm 10/03/06 21:15:26
Removed: svnmailer-1.0.8-python2.5.diff
Log:
Move svnmailer to dev-vcs, bug 56967.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-06 21:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-06 21:15 [gentoo-commits] gentoo-x86 commit in dev-util/svnmailer/files: svnmailer-1.0.8-python2.5.diff Ulrich Mueller (ulm)
-- strict thread matches above, loose matches on Subject: below --
2008-04-06 13:41 Hanno Boeck (hanno)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox