Modernize code to Python 3.6+ and some cleanup
This commit is contained in:
@@ -7,5 +7,5 @@ for field in fields:
|
||||
# list private fields only
|
||||
if Modifier.isPrivate(field.getModifiers()):
|
||||
field.setAccessible(True) # break the lock
|
||||
print 'field:', field
|
||||
print '\t', field.getName(), '=', field.get(message)
|
||||
print('field:', field)
|
||||
print('\t', field.getName(), '=', field.get(message))
|
||||
|
||||
Reference in New Issue
Block a user