mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-27 01:45:58 +03:00
[GH-ISSUE #388] autoreply TypeError: can't compare datetime.datetime to datetime.date #372
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#372
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/388
Originally assigned to: @tonioo on GitHub.
Originally created by Fabrice Flore-Thébault on 2013-04-17T11:50:37Z
# ./manage.py autoreply --traceback --verbosity=3 xxx@xxx.be yyyy@yyyy.be --traceback --verbosity=3 Traceback (most recent call last): File "./manage.py", line 11, in execute_manager(settings) File "/usr/lib/python2.6/dist-packages/django/core/management/__init__.py", line 459, in execute_manager utility.execute() File "/usr/lib/python2.6/dist-packages/django/core/management/__init__.py", line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.6/dist-packages/django/core/management/base.py", line 196, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.6/dist-packages/django/core/management/base.py", line 232, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.6/dist-packages/modoboa/extensions/postfix_autoreply/management/commands/autoreply.py", line 61, in handle send_autoreply(sender, mbox, armessage) File "/usr/local/lib/python2.6/dist-packages/modoboa/extensions/postfix_autoreply/management/commands/autoreply.py", line 15, in send_autoreply and armessage.untildate < datetime.date.today(): TypeError: can't compare datetime.datetime to datetime.date@tonioo commented on GitHub (Dec 4, 2013):
Posted by Antoine Nguyen on 2013-04-17T11:58:36Z
Applied in changeset commit:6aa6761bd96102bdfb8ad1b2ba368a13959544a9.
@tonioo commented on GitHub (Dec 4, 2013):
Posted by Fabrice Flore-Thébault on 2013-04-17T12:01:27Z
with Révision
6aa6761bit becomes