publisher/management/commands/publish_model.py
def error(self, message, code=1):
        """
        Print error and stop command
        """
        print >>sys.stderr, message
        sys.exit(code)
def error(self, message, code=1):
        print >>sys.stderr, message
        sys.exit(code)
def error ( self , message , code = 1 ) : print >> sys . stderr , message sys . exit ( code )
Print error and stop command
Print error and stop command