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/



_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker

Reply via email to