duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] unused assert


From: Jason Dusek
Subject: Re: [Duplicity-talk] unused assert
Date: Thu, 21 Aug 2008 04:21:17 -0700

  I changed the meaning so that the
  assert would mean something -- that
  was all my patch was intended to
  highlight.

--
_jsn

On 21.08.2008, at 04:13, Paul Walker <address@hidden> wrote:

On Wed, Aug 20, 2008 at 08:30:01PM -0700, Jason Dusek wrote:

-               backup_chains = self.get_sorted_chains(backup_chains)
-               self.all_backup_chains = backup_chains
+ self.all_backup_chains = self.get_sorted_chains(backup_chains)

I haven't checked the code, but unless get_sorted_chains does an in- place sort of the thing given to it, haven't you just changed the meaning of this
code...?

(It might be correct; just wanted to check.)

--
Paul

"I have a longstanding agreement with tequila: I won't
drink it, and it won't make me sick."  -- Brian Kantor


_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk




reply via email to

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