Project

General

Profile

« Previous | Next » 

Revision 2449

bin/map: Provide a log_debug() function to sql.connect() if verbosity > 1 rather than >= 2, to support fractional verbosities

View differences:

map
107 107
    ##
108 108
    
109 109
    # Logging
110
    debug = verbosity >= 2
110
    debug = verbosity > 1
111 111
    sql.run_raw_query.debug = debug
112 112
    def log(msg, level=1):
113 113
        '''Higher level -> more verbose'''

Also available in: Unified diff