nl: call the self.stdout.write method, with string " Applying %s..." with '%s' replaced with migration and ending set to '', as arguments.
code: self . stdout . write ( " Applying %s..." % migration , ending = "" )