duplicity-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [bug #25379] sys.exit() causes traceback and should


From: Kenneth Loafman
Subject: [Duplicity-tracker] [bug #25379] sys.exit() causes traceback and should not
Date: Thu, 22 Jan 2009 14:54:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5

URL:
  <http://savannah.nongnu.org/bugs/?25379>

                 Summary: sys.exit() causes traceback and should not
                 Project: duplicity
            Submitted by: loafman
            Submitted on: Thu 22 Jan 2009 08:54:01 AM CST
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: loafman
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The sys.exit() call raises the exception SystemExit, which is being caught by
the generic Exception handler in duplicity.  This causes users to think that
duplicity has failed when it has not.

The problem is only showing up in Python 2.3 and 2.4.  
Python 2.5 and 2.6 are not showing this problem.

The attached patch fixes this issue.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 22 Jan 2009 08:54:01 AM CST  Name: duplicity-sys-exit.patch  Size:
728B   By: loafman

<http://savannah.nongnu.org/bugs/download.php?file_id=17304>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25379>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]