Module Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body If CompareGt BinOpAdd BinOpAdd NameLoad NameLoad Num Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad BinOpAdd BinOpAdd NameLoad NameLoad Num If CompareNotEq NameLoad Num body If BoolOpAnd CompareNotEq NameLoad Num CompareLt NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Num orelse Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice NameLoad Str SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad Num orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotEq NameLoad Num body Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice NameLoad Str SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str decorator_list
N/A N/A time N/A re N/A singleline_regexp N/A N/A re compile ^\. N/A re M wrap N/A N/A text width N/A 78 N/A N/A Wraps text at a specified width.
        
    This is used on the PhorumMail feature, as to emulate completely the
    current Phorum behavior when it sends out copies of the posted
    articles.
     N/A i 0 N/A N/A i N/A len text N/A N/A N/A N/A N/A i width 1 N/A len text N/A N/A i N/A len text N/A N/A findnl N/A N/A text find i N/A findspc N/A N/A text rfind i N/A N/A i width 1 N/A N/A findspc -1 N/A N/A N/A N/A findnl -1 N/A findnl findspc N/A N/A i N/A findnl 1 N/A N/A text N/A N/A N/A text N/A findspc N/A text N/A N/A findspc 1 N/A i N/A findspc 1 N/A N/A findspc N/A N/A text find i N/A N/A findspc -1 N/A N/A text N/A N/A N/A text N/A findspc N/A text N/A N/A findspc 1 N/A i N/A findspc 1 N/A text N/A get_formatted_time N/A N/A time_tuple N/A N/A N/A Formats the time tuple in a NNTP friendly way.
    
    Some newsreaders didn't like the date format being sent using leading
    zeros on the days, so we needed to hack our own little format.
     N/A day N/A int N/A N/A time strftime %d time_tuple N/A tmp1 N/A N/A time strftime %a, time_tuple N/A tmp2 N/A N/A time strftime %b %Y %H:%M:%S %Z time_tuple N/A N/A %s %s %s N/A tmp1 day tmp2 N/A format_body N/A N/A text N/A N/A N/A Formats the body of message being sent to the client.
    
    Since the NNTP protocol uses a single dot on a line to denote the end
    of the response, we need to substitute all leading dots on the body of
    the message with two dots.
     N/A N/A N/A singleline_regexp sub .. text N/A format_wildcards N/A N/A pattern N/A N/A N/A N/A N/A N/A N/A pattern replace * .* replace ? .* N/A format_wildcards_sql N/A N/A pattern N/A N/A N/A N/A N/A N/A N/A pattern replace * % replace ? % N/A