From c3f9f335fced00bb379bfe83833e64f45b4a66b1 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Mon, 9 Jan 2006 23:05:04 +0000 Subject: [PATCH] formatting --- direct/src/distributed/DistributedObject.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/distributed/DistributedObject.py b/direct/src/distributed/DistributedObject.py index 7bb16c9e7a..de067969e8 100644 --- a/direct/src/distributed/DistributedObject.py +++ b/direct/src/distributed/DistributedObject.py @@ -96,14 +96,14 @@ class DistributedObject(DistributedObjectBase): except Exception, e: print "%serror printing status"%(spaces,), e def setNeverDisable(self, bool): - assert (bool == 1) or (bool == 0) + assert bool == 1 or bool == 0 self.neverDisable = bool def getNeverDisable(self): return self.neverDisable def setCacheable(self, bool): - assert (bool == 1) or (bool == 0) + assert bool == 1 or bool == 0 self.cacheable = bool def getCacheable(self):