added code to print event.inferior.
+2013-09-12  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
+       added code to print event.inferior.
+
 2013-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
 
     assert (isinstance (event, gdb.NewObjFileEvent))
     print ("event type: new_objfile")
     print ("new objfile name: %s" % (event.new_objfile.filename))
-    print ("inferior number: %d" % (event.inferior.num))
 
 class test_events (gdb.Command):
     """Test events."""