Browse Source

fixed printObjectCount formatting

Darren Ranalli 19 years ago
parent
commit
c09c16735a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/distributed/DoCollectionManager.py

+ 2 - 2
direct/src/distributed/DoCollectionManager.py

@@ -94,15 +94,15 @@ class DoCollectionManager:
             count2classes[count].sort()
             count2classes[count].sort()
             for name in count2classes[count]:
             for name in count2classes[count]:
                 print '%s %s' % (count, name)
                 print '%s %s' % (count, name)
+        print ''
 
 
     def printObjectCount(self):
     def printObjectCount(self):
         # print object counts by distributed object type
         # print object counts by distributed object type
-        print '==== OBJECT DUMP ===='
+        print '==== OBJECT COUNT ===='
         if self.hasOwnerView():
         if self.hasOwnerView():
             print '== doId2do'
             print '== doId2do'
         self._printObjects(self.getDoTable(ownerView=False))
         self._printObjects(self.getDoTable(ownerView=False))
         if self.hasOwnerView():
         if self.hasOwnerView():
-            print ''
             print '== doId2ownerView'
             print '== doId2ownerView'
             self._printObjects(self.getDoTable(ownerView=True))
             self._printObjects(self.getDoTable(ownerView=True))