Project

General

Profile

« Previous | Next » 

Revision 2480

strings.py: as_table(): Fixed bug where table was not ended properly, by adding a space after the last \n and having rstrip() string only newlines

View differences:

map
114 114
        '''Higher level -> more verbose'''
115 115
        if level <= verbosity:
116 116
            if level > 1: msg = '['+str(level)+'] '+msg # include level in msg
117
            sys.stderr.write(msg.rstrip()+'\n')
117
            sys.stderr.write(msg.rstrip('\n')+'\n')
118 118
    if debug: log_debug = lambda msg, level=2: log(msg, level)
119 119
    else: log_debug = sql.log_debug_none
120 120
    

Also available in: Unified diff