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

Re: [PATCH 2/3] Add exceptions specific to the new Size class.



On Mon, 6 Sep 2010, Ales Kozumplik wrote:

On 09/04/2010 04:56 AM, dcantrell redhat com wrote:

+class SizePositiveError(StorageError):
+    pass

Hmmm, maybe I am just missing some convention we have, but why not SizeNegativeError() ?

Right, my mistake.  Actually, I'd like it to be SizeNotPositiveError because
the code also prohibits a size of 0.

Will fix it up in the next round.

--
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI


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