Namespaces | |
namespace | cacheconfigParser |
namespace | cmscompleter |
namespace | cmstools |
namespace | CommonUtils |
namespace | connectstrParser |
namespace | DBCopy |
namespace | DBImpl |
namespace | diff_provenance |
namespace | diffProv |
namespace | entryComment |
namespace | exporter |
namespace | IdGenerator |
namespace | iterators |
namespace | listobjects |
namespace | LumiList |
namespace | multivaluedict |
namespace | namespaceDict |
namespace | Node |
namespace | ParticleDecayDrawer |
namespace | read_provenance |
namespace | readProv |
namespace | rootplot |
namespace | seqvaluedict |
namespace | tagInventory |
namespace | TagTree |
namespace | XML2Python |
Classes | |
class | Events |
################## ## ## ############ ## ## ## ## Events ## ## ## ## ############ ## ## ################## ## More... | |
class | Handle |
################## ## ## ############ ## ## ## ## Handle ## ## ## ## ############ ## ## ################## ## More... | |
class | Lumis |
################# ## ## ########### ## ## ## ## Lumis ## ## ## ## ########### ## ## ################# ## More... | |
class | Runs |
################ ## ## ########## ## ## ## ## Runs ## ## ## ## ########## ## ## ################ ## More... | |
Functions | |
def | setQuietWarn |
def | warn |
Variables | |
quietWarn = False |
def python::setQuietWarn | ( | quiet = True | ) |
Definition at line 16 of file __init__.py.
def python::warn | ( | args, | |
kwargs | |||
) |
print out warning with line number and rest of arguments
Definition at line 20 of file __init__.py.
00021 : 00022 """print out warning with line number and rest of arguments""" 00023 if quietWarn: return 00024 frame = inspect.stack()[1] 00025 filename = frame[1] 00026 lineNum = frame[2] 00027 #print "after '%s'" % filename 00028 blankLines = kwargs.get('blankLines', 0) 00029 if blankLines: 00030 print '\n' * blankLines 00031 spaces = kwargs.get('spaces', 0) 00032 if spaces: 00033 print ' ' * spaces, 00034 if len (args): 00035 print "%s (%s): " % (filename, lineNum), 00036 for arg in args: 00037 print arg, 00038 print 00039 else: 00040 print "%s (%s):" % (filename, lineNum)
python::quietWarn = False |
Definition at line 14 of file __init__.py.