Back to index

moin  1.9.0~rc2
Namespaces | Classes | Functions | Variables
MoinMoin.script Namespace Reference

Namespaces

namespace  account
namespace  cli
namespace  export
namespace  import
namespace  index
namespace  maint
namespace  migration
namespace  moin
namespace  old
namespace  server
namespace  xmlrpc

Classes

class  ScriptRequest
class  ScriptRequestCLI
class  ScriptRequestStrings
class  Script
class  MoinScript

Functions

def fatal
def log

Variables

int flag_quiet = 0

Function Documentation

def MoinMoin.script.fatal (   msgtext,
  kw 
)
Print error msg to stderr and exit. 

Definition at line 81 of file __init__.py.

00081 
00082 def fatal(msgtext, **kw):
00083     """ Print error msg to stderr and exit. """
00084     sys.stderr.write("\n\nFATAL ERROR: " + msgtext + "\n")
00085     sys.exit(1)
00086 

Here is the caller graph for this function:

def MoinMoin.script.log (   msgtext)
Optionally print error msg to stderr. 

Definition at line 87 of file __init__.py.

00087 
00088 def log(msgtext):
00089     """ Optionally print error msg to stderr. """
00090     if not flag_quiet:
00091         sys.stderr.write(msgtext + "\n")
00092 
00093 
00094 # Commandline Support --------------------------------------------------------

Here is the caller graph for this function:


Variable Documentation

Definition at line 13 of file __init__.py.