Bug 64354 - mail/archivemail: Fix syntax warning with Python 2.3
Summary: mail/archivemail: Fix syntax warning with Python 2.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergei Kolobov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-17 01:00 UTC by Simon Barner
Modified: 2004-04-11 22:53 UTC (History)
1 user (show)

See Also:


Attachments
patch-archivemail (443 bytes, text/plain)
2004-03-17 01:00 UTC, Simon Barner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Barner 2004-03-17 01:00:40 UTC
This fixes the following warning when you run archivemail with Python
2.3:

/usr/local/bin/archivemail:760: SyntaxWarning: assignment to None
  (None, last_dir) = os.path.split(os.path.dirname(message.fp.name))

The patch was also submitted to upstream (using SF's bug tracking
system).

How-To-Repeat: 
Run archivemail with Python 2.3 as a cron job, and get annoying emails
:(
Comment 1 Clement Laforet freebsd_committer freebsd_triage 2004-03-17 10:22:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

Over to maintainer.
Comment 2 Sergei Kolobov freebsd_committer freebsd_triage 2004-04-11 22:53:11 UTC
State Changed
From-To: open->closed

Committed, thanks