gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] PyArch patches


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] PyArch patches
Date: Fri, 18 Jun 2004 21:52:43 -0400
User-agent: Mozilla Thunderbird 0.5 (X11/20040306)

One thing: I can't see an alternative to Tree.get_log().

I'm getting user input that may be bogus, and I need to return it only if it exists. If I ask for a (tree) log that doesn't exist, cat-log complains and returns 1, and I get some big fat exceptions.

What I have to do is iterate through the logs in order to find out whether the specified log exists, and return it if so. That's exactly what get_log did.

I can rewrite it every place I need it, but that seems counterproductive.

Aaron




reply via email to

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