From dddc2d03785f36a09f7fa52d6d09608d6280a101 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 29 Jun 2009 13:03:41 -0700 Subject: [PATCH] remove trailing whitespace from some util classes --- src/allmydata/util/dictutil.py | 2 +- src/allmydata/util/nummedobj.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/util/dictutil.py b/src/allmydata/util/dictutil.py index 11c0c743..2eee85a6 100644 --- a/src/allmydata/util/dictutil.py +++ b/src/allmydata/util/dictutil.py @@ -348,7 +348,7 @@ def del_if_present(d, k): class ValueOrderedDict: """ Note: this implementation assumes that the values do not mutate and change - their sort order. That is, it stores the values in a sorted list and + their sort order. That is, it stores the values in a sorted list and as items are added and removed from the dict, it makes updates to the list which will keep the list sorted. But if a value that is currently sitting in the list changes its sort order, then the internal consistency of this diff --git a/src/allmydata/util/nummedobj.py b/src/allmydata/util/nummedobj.py index e60505f8..97d37066 100644 --- a/src/allmydata/util/nummedobj.py +++ b/src/allmydata/util/nummedobj.py @@ -19,7 +19,7 @@ class NummedObj(object): if klass is None: klass = self.__class__ self._classname = klass.__name__ - + NummedObj.objnums.inc(self._classname) self._objid = NummedObj.objnums[self._classname] -- 2.45.2