mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 03:14:21 +00:00
remove trailing whitespace from some util classes
This commit is contained in:
parent
d0f80579a5
commit
dddc2d0378
@ -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
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user