Parse errors with Python 2.4.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-email-notifier |
Confirmed
|
Medium
|
Unassigned |
Bug Description
In REAME the following statement is made:
Python, version 2.4 or later is required
But I had to patch bzr_email_
1. bzr_email_
File "./bzr_
directories = [path if path[-1] != '/' else path[:-1] for path in arguments]
Fix:
--- bzr_email_
+++ bzr_email_
@@ -46,7 +46,7 @@
# Strip trailing '/' from any paths provided.
- directories = [path if path[-1] != '/' else path[:-1] for path in arguments]
+ directories = [path[-1] != '/' and path or path[:-1] for path in arguments]
global config
config = Configuration(
2. configuration.py:
Traceback (most recent call last):
File "./bzr_
from configuration import Configuration, SendEmailError
File "/home/
message = EmailMessage(
Fix:
--- configuration.
+++ configuration.py 2010-03-05 21:24:44.000022000 +0000
@@ -191,7 +191,7 @@
else:
body = unicode(
- message = EmailMessage(
+ message = EmailMessage(
if not body is None and self._is_html:
# Using HTML for message. Add it as an inline attachment.
I hope I didn't miss something very obvious.
Thanks for the Software,
Volker
Changed in bzr-email-notifier: | |
status: | New → Confirmed |
importance: | Undecided → Medium |