Add facilities for uniform debug printing

This commit is contained in:
Vincent Jacques
2012-04-17 18:47:11 +01:00
parent 2f64b625f7
commit e5ae923a68
3 changed files with 15 additions and 4 deletions
@@ -88,7 +88,7 @@ def GithubObject( className, *attributePolicies ):
attributeDefinition = GithubObject.__attributeDefinitions[ attributeName ]
self.__attributes[ attributeName ] = attributeDefinition.getValueFromRawValue( self, attributeValue )
except KeyError:
pass
self._github._printDebug( "Missing definition of attribute", attributeName, "in class", className )
def _markAsCompleted( self ):
for attributeName, attributeDefinition in GithubObject.__attributeDefinitions.iteritems():