~davi/kewpie/qp-fixes

« back to all changes in this revision

Viewing changes to lib/sys_mgmt/logging_management.py

  • Committer: Patrick Crews
  • Date: 2012-02-01 21:50:18 UTC
  • mfrom: (103.1.1 kewpie)
  • Revision ID: gleebix@gmail.com-20120201215018-ecby526e4optolcj
Updated xtrabackup tests + code

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
        with open(self.subunit_file,'a') as subunit_outfile:
148
148
            subunit_outfile.write(time.strftime("time: %Y-%m-%d-%H:%M:%SZ\n"))
149
149
            if output:
150
 
                output_string = "[\n%s]\n" %(output)
 
150
                output_string = " [\n%s]\n" %(output)
151
151
            else:
152
152
                output_string = "\n" # we just want a newline if nothing here 
153
 
            subunit_outfile.write("%s: %s %s" %( result
154
 
                                               , test_name
155
 
                                               , output_string))
 
153
            subunit_outfile.write("%s: %s%s" %( result
 
154
                                              , test_name
 
155
                                              , output_string))
156
156
            
157
157