Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore ListComp BinOpAdd Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpMod Str NameLoad AugAssignAdd NameStore Str AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str CompareEq Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Str NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Str NameLoad NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Return Str orelse Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq Call AttributeLoad Call NameLoad NameLoad attr Str NameLoad body Break Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Global identifier If UnaryOpNot NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad If BoolOpOr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareGt AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr BinOpMult BinOpMult BinOpMult Num Num Num Num body Assign NameStore Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Str While NameLoad body Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Assign TupleStore NameStore NameStore Call NameLoad ListLoad Str Str NameLoad If UnaryOpNot NameLoad body Break Assign NameStore Str If CompareEq NameLoad NameLoad body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr Str body Continue Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Str Assign NameStore Str If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return CompareEq Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Print AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If NameLoad body Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Break If NameLoad body Print Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return SubscriptLoad Call NameLoad NameLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str Str ListLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad TupleLoad Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call NameLoad BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad TupleLoad Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call NameLoad BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num If NameLoad body Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Str Num Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Str Num If CompareEq Call NameLoad NameLoad Num body Return NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num attr Str attr Str If CompareGt Call NameLoad NameLoad Num body Return NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIn SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num NameLoad If CompareGt Call NameLoad NameLoad Num body Return NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str If BoolOpOr CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Continue If Call AttributeLoad NameLoad attr Str body If CompareNotEq Call AttributeLoad NameLoad attr Str Num body Return NameLoad Assign NameStore Str If BoolOpAnd CompareNotEq NameLoad Str BoolOpOr CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore NameLoad orelse If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Return NameLoad decorator_list decorator_list Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr Str NameLoad body Expr Call NameLoad BinOpAdd Str NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad For NameStore NameLoad body AugAssignAdd AttributeStore NameLoad attr AttributeLoad Call NameLoad NameLoad NameLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If NameLoad body Expr Call NameLoad BinOpAdd BinOpAdd Str NameLoad Str Return Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore ListLoad For NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore NameLoad If NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad Call NameLoad ListLoad Str Str NameLoad Slice Num If UnaryOpNot NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareNotEq NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore NameLoad Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad While NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Dict Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Slice Call NameLoad Call NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict For NameStore Call NameLoad body Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Str Str For NameStore Call AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot Call NameLoad NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body Continue Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Str If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad If CompareNotIn Str NameLoad body Return ListLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad body Expr Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareIs NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad BinOpAdd BinOpAdd Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad While Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Break If CompareNotEq SubscriptLoad NameLoad Index Num Str body Continue Print Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body If NameLoad body Assign NameStore Str If CompareNotEq Call NameLoad AttributeLoad Call NameLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index NameLoad body Assign NameStore Str Print BinOpAdd BinOpAdd BinOpAdd Str NameLoad NameLoad Str For NameStore SubscriptLoad NameLoad Index NameLoad body Print Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body If BoolOpAnd NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call NameLoad NameLoad ListLoad Str Return Print Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Str orelse Assign NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareEq Call AttributeLoad Call NameLoad NameLoad attr Str Str body Continue If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Print Str Return If UnaryOpNot CompareIn Str NameLoad body If UnaryOpNot Call NameLoad NameLoad keyword NameLoad body Return orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore CompareIn Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore CompareIn Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str If AttributeLoad NameLoad attr body Assign NameStore NameLoad For NameStore NameLoad body If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num If CompareNotEq Call AttributeLoad NameLoad attr Str Num body Assign NameStore SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str If CompareNotEq Call AttributeLoad NameLoad attr Str Num body Assign NameStore SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareNotEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Num If BoolOpAnd UnaryOpNot NameLoad CompareEq Call AttributeLoad Call NameLoad Str attr Str body Expr Call NameLoad NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Print Str Return Print Str Expr Call NameLoad NameLoad keyword NameLoad Print Str Expr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body If NameLoad body Return Expr Call NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Print Str Return If UnaryOpNot CompareIn Str NameLoad body If UnaryOpNot Call NameLoad NameLoad keyword NameLoad body Return orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot Call NameLoad body Print Str Return Assign NameStore ListLoad Str Str Assign NameStore Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str TupleLoad Call NameLoad Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore ListLoad BinOpAdd Str NameLoad AugAssignAdd NameStore ListLoad BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Str Num body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr NameLoad attr Num Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr orelse Expr Call NameLoad BinOpAdd Str NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad Str AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad Str Call AttributeLoad Str attr ListComp BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr ListComp BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num If CompareNotEq Call NameLoad NameLoad Num body Expr Call NameLoad BinOpAdd Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad body Continue If Call AttributeLoad NameLoad attr Str body Break Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Print BinOpAdd AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr body Expr Call NameLoad BinOpAdd Str NameLoad decorator_list Assign NameStore TupleLoad Str Assign NameStore TupleLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body If Call NameLoad ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr NameLoad body If Call NameLoad ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr NameLoad body Print BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Print BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Print Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str For NameStore Call NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str For NameStore AttributeLoad NameLoad attr body Print Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad Return Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Expr Call NameLoad Return Num If CompareEq NameLoad Str body Expr Call NameLoad Print Str Expr Call NameLoad ListLoad Return Num If CompareEq NameLoad Str body Expr Call NameLoad SubscriptLoad NameLoad Slice Num Return Num If CompareEq NameLoad Str body Expr Call NameLoad Return Num If CompareEq NameLoad Str body Expr Call NameLoad SubscriptLoad NameLoad Slice Num Return Num If BoolOpAnd CompareEq NameLoad Str CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad Print Call NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Return Num If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str Print NameLoad Return Num If CompareEq Call NameLoad NameLoad Num body If CompareEq NameLoad Str body Assign NameStore Call NameLoad orelse Expr Call NameLoad Str orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BoolOpAnd CompareNotEq NameLoad Str CompareNotEq NameLoad Str If BoolOpAnd CompareEq NameLoad Str CompareNotEq Call AttributeLoad NameLoad attr Str Num body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Expr Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call NameLoad NameLoad NameLoad orelse Assign NameStore ListLoad Str NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Print Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Return Num decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A getpass N/A linecache N/A os N/A random N/A re N/A string N/A subprocess N/A sys N/A tempfile N/A upload N/A urllib2 N/A CODEREVIEW_SETTINGS N/A CODE_REVIEW_SERVER CC_LIST VIEW_VC rietku.appspot.com jaikuengine-reviews@googlegroups.com http://code.google.com/p/jaikuengine/source/detail?r= N/A use_shell N/A N/A N/A sys platform startswith win N/A repository_root N/A gcl_info_dir N/A CODEREVIEW_SETTINGS_FILE codereview.settings N/A MISSING_TEST_MSG Change contains new or modified methods, but no new tests! N/A read_gcl_info False DiffPrint N/A N/A filename N/A N/A N/A Return file content in unified diff format as though it's been added N/A file_handle N/A open filename rb N/A file_content N/A N/A file_handle read N/A N/A N/A file_handle close N/A file_content N/A N/A +  i N/A i N/A N/A file_content splitlines True N/A nb_lines N/A len file_content N/A filename N/A N/A filename replace \ / N/A data N/A Index: %s
 filename N/A data ===================================================================
 N/A data N/A --- %s
 filename N/A data N/A +++ %s
 filename N/A data N/A @@ -0,0 +1,%d @@
 nb_lines N/A data N/A N/A join file_content N/A data N/A IsSVNMoved N/A N/A filename N/A N/A N/A Determine if a file has been added through svn mv N/A info N/A GetSVNFileInfo filename N/A N/A N/A N/A info get Copied From URL N/A N/A info get Copied From Rev N/A N/A N/A info get Schedule add N/A GetSVNFileInfo N/A N/A file N/A N/A N/A Returns a dictionary from the svn info output for the given file. N/A output N/A RunShell N/A svn info file N/A result N/A N/A re_key_value_pair N/A N/A re compile ^(.*)\: (.*)$ N/A line N/A N/A output splitlines N/A N/A key_value_pair N/A N/A re_key_value_pair match line N/A key_value_pair N/A N/A N/A result N/A N/A N/A key_value_pair group 1 N/A N/A key_value_pair group 2 N/A result N/A GetSVNFileProperty N/A N/A file property_name N/A N/A N/A Returns the value of an SVN property for the given file.

  Args:
    file: The file to check
    property_name: The name of the SVN property, e.g. "svn:mime-type"

  Returns:
    The value of the property, which will be the empty string if the property
    is not set on the file.  If the file is not under version control, the
    empty string is also returned.
   N/A output N/A RunShell N/A svn propget property_name file N/A N/A N/A N/A output startswith svn:  N/A N/A output endswith is not under version control N/A N/A N/A N/A output N/A GetRepositoryRoot N/A N/A N/A N/A N/A Returns the top level directory of the current repository.

  The directory is returned as an absolute path.
   N/A repository_root N/A N/A repository_root N/A N/A cur_dir_repo_root N/A N/A N/A GetSVNFileInfo N/A N/A os getcwd get Repository Root N/A N/A cur_dir_repo_root N/A N/A N/A ErrorExit gcl run outside of repository N/A repository_root N/A N/A os getcwd N/A True N/A N/A parent N/A N/A N/A os path dirname repository_root N/A N/A N/A N/A N/A GetSVNFileInfo parent get Repository Root cur_dir_repo_root N/A N/A N/A repository_root parent N/A repository_root N/A GetInfoDir N/A N/A N/A N/A N/A Returns the directory where gcl info files are stored. N/A gcl_info_dir N/A N/A gcl_info_dir N/A N/A gcl_info_dir N/A N/A N/A os path join N/A GetRepositoryRoot .svn gcl_info N/A gcl_info_dir N/A GetCodeReviewSetting N/A N/A key N/A N/A N/A Returns a value for the given key for this repository. N/A read_gcl_info N/A N/A read_gcl_info N/A N/A read_gcl_info True N/A cached_settings_file N/A N/A N/A os path join N/A GetInfoDir CODEREVIEW_SETTINGS_FILE N/A N/A N/A N/A N/A N/A os path exists cached_settings_file N/A N/A N/A N/A os stat cached_settings_file st_mtime N/A N/A N/A 60 60 24 3 N/A N/A dir_info N/A GetSVNFileInfo . N/A repo_root N/A dir_info N/A Repository Root N/A url_path N/A dir_info N/A URL N/A settings N/A True N/A N/A svn_path N/A N/A url_path / CODEREVIEW_SETTINGS_FILE N/A N/A settings rc N/A RunShellWithReturnCode N/A svn cat svn_path N/A N/A rc N/A N/A N/A settings N/A N/A url_path repo_root N/A N/A N/A url_path N/A N/A N/A os path dirname url_path N/A N/A WriteFile cached_settings_file settings N/A output N/A ReadFile cached_settings_file N/A line N/A N/A output splitlines N/A N/A N/A N/A line N/A N/A line startswith # N/A N/A N/A N/A k v N/A N/A line split :  1 N/A N/A CODEREVIEW_SETTINGS N/A k v N/A N/A N/A CODEREVIEW_SETTINGS get key N/A IsTreeOpen N/A N/A N/A N/A N/A Fetches the tree status and returns either True or False. N/A url N/A GetCodeReviewSetting STATUS N/A status N/A url N/A N/A status N/A N/A N/A N/A urllib2 urlopen url read N/A N/A N/A N/A status find 0 -1 N/A Warn N/A N/A msg N/A N/A N/A N/A ErrorExit msg exit False N/A ErrorExit N/A N/A msg exit N/A True N/A N/A Print an error message to stderr and optionally exit. N/A N/A sys stderr msg N/A exit N/A N/A N/A N/A sys exit 1 N/A RunShellWithReturnCode N/A N/A command print_output N/A False N/A N/A Executes a command and returns the output and the return code. N/A p N/A N/A subprocess Popen command stdout N/A subprocess PIPE stderr N/A subprocess STDOUT shell use_shell universal_newlines True N/A print_output N/A N/A output_array N/A N/A True N/A N/A line N/A N/A N/A p stdout readline N/A N/A line N/A N/A N/A print_output N/A N/A N/A N/A line strip N/A N/A N/A output_array append line N/A output N/A N/A join output_array N/A N/A output N/A N/A N/A p stdout read N/A N/A N/A p wait N/A N/A N/A N/A p stdout close N/A N/A output N/A p returncode N/A RunShell N/A N/A command print_output N/A False N/A N/A Executes a command and returns the output. N/A N/A N/A RunShellWithReturnCode command print_output N/A 0 N/A ReadFile N/A N/A filename N/A N/A N/A Returns the contents of a file. N/A file N/A open filename r N/A result N/A N/A file read N/A N/A N/A file close N/A result N/A WriteFile N/A N/A filename contents N/A N/A N/A Overwrites the file with the given contents. N/A file N/A open filename w N/A N/A N/A file write contents N/A N/A N/A file close N/A ChangeInfo N/A N/A N/A Holds information about a changelist.

    issue: the Rietveld issue number, of "" if it hasn't been uploaded yet.
    description: the description.
    files: a list of 2 tuple containing (status, filename) of changed files,
           with paths being relative to the top repository directory.
   __init__ N/A N/A self name issue description files N/A N/A N/A N/A N/A self name name N/A N/A self issue issue N/A N/A self description description N/A N/A self files files N/A N/A self patch None N/A FileList N/A N/A self N/A N/A N/A Returns a list of files. N/A N/A N/A file N/A 1 N/A file N/A self files N/A _NonDeletedFileList N/A N/A self N/A N/A N/A Returns a list of files in this change, not including deleted files. N/A N/A N/A file N/A 1 N/A file N/A self files N/A N/A N/A N/A file N/A 0 startswith D N/A _AddedFileList N/A N/A self N/A N/A N/A Returns a list of files added in this change. N/A N/A N/A file N/A 1 N/A file N/A self files N/A N/A N/A file N/A 0 startswith A N/A Save N/A N/A self N/A N/A N/A Writes the changelist information to disk. N/A data N/A N/A SEPARATOR join N/A N/A self issue N/A N/A join N/A N/A N/A f N/A 0 N/A f N/A 1 N/A f N/A self files N/A self description N/A N/A WriteFile N/A GetChangelistInfoFile N/A self name data N/A Delete N/A N/A self N/A N/A N/A Removes the changelist information from disk. N/A N/A N/A os remove N/A GetChangelistInfoFile N/A self name N/A CloseIssue N/A N/A self N/A N/A N/A Closes the Rietveld issue for this changelist. N/A data N/A N/A description N/A self description N/A N/A ctype body N/A N/A upload EncodeMultipartFormData data N/A N/A N/A SendToRietveld N/A N/A / N/A self issue /close body ctype N/A UpdateRietveldDescription N/A N/A self N/A N/A N/A Sets the description for an issue on Rietveld. N/A data N/A N/A description N/A self description N/A N/A ctype body N/A N/A upload EncodeMultipartFormData data N/A N/A N/A SendToRietveld N/A N/A / N/A self issue /description body ctype N/A GetMoved N/A N/A self root N/A None N/A N/A Return a list of files that have been added through svn mv N/A moved N/A N/A f N/A 1 N/A f N/A self files N/A IsSVNMoved N/A f N/A 1 N/A root N/A N/A moved N/A N/A N/A N/A os path join root f N/A f moved N/A moved N/A MissingTests N/A N/A self N/A N/A N/A Returns True if the change looks like it needs unit tests but has none.

    A change needs unit tests if it contains any new source files or methods.
     N/A SOURCE_SUFFIXES N/A .cc .cpp .c .m .mm N/A files N/A file N/A file N/A N/A self _NonDeletedFileList N/A N/A N/A file find third_party -1 N/A added_files N/A file N/A file N/A N/A self _AddedFileList N/A N/A N/A file find third_party -1 N/A N/A N/A len files 0 N/A N/A False N/A test_files N/A test N/A test files N/A N/A N/A N/A N/A N/A N/A N/A os path splitext test N/A 0 rstrip s endswith test N/A N/A N/A len test_files 0 N/A N/A False N/A source_files N/A file N/A file added_files N/A N/A N/A N/A N/A os path splitext file N/A 1 SOURCE_SUFFIXES N/A N/A N/A len source_files 0 N/A N/A True N/A N/A N/A self _HasNewMethod N/A _HasNewMethod N/A N/A self N/A N/A N/A Returns True if the changeset contains any new functions, or if a
    function signature has been changed.

    A function is identified by starting flush left, containing a "(" before
    the next flush-left line, and either ending with "{" before the next
    flush-left line or being followed by an unindented "{".

    Currently this returns True for new methods, new static functions, and
    methods or functions whose signatures have been changed.

    Inline methods added to header files won't be detected by this. That's
    acceptable for purposes of determining if a unit test is needed, since
    inline methods should be trivial.
     N/A N/A N/A self patch None N/A N/A N/A self patch N/A GenerateDiff N/A N/A self FileList N/A definition N/A line N/A N/A N/A self patch splitlines N/A N/A N/A N/A N/A line startswith + N/A N/A N/A line N/A N/A N/A N/A line strip + rstrip N/A N/A N/A line N/A N/A line startswith / N/A N/A line startswith # N/A N/A N/A N/A N/A definition endswith { N/A N/A N/A N/A N/A definition find ( -1 N/A N/A True N/A definition N/A N/A N/A definition N/A N/A line { N/A N/A line startswith N/A N/A line startswith N/A N/A definition line N/A N/A N/A N/A N/A N/A line startswith N/A N/A N/A line startswith N/A N/A definition line N/A False N/A N/A N/A SEPARATOR 
-----
 GetChangelistInfoFile N/A N/A changename N/A N/A N/A Returns the file that stores information about a changelist. N/A N/A N/A changename N/A N/A re search [^\w-] changename N/A N/A N/A ErrorExit N/A Invalid changelist name:  changename N/A N/A N/A N/A os path join N/A GetInfoDir changename N/A LoadChangelistInfoForMultiple N/A N/A changenames fail_on_not_found update_status N/A True False N/A N/A Loads many changes and merge their files list into one pseudo change.

  This is mainly usefull to concatenate many changes into one for a 'gcl try'.
   N/A changes N/A N/A changenames split , N/A aggregate_change_info N/A ChangeInfo name changenames N/A change changes N/A N/A N/A aggregate_change_info files N/A N/A LoadChangelistInfo change fail_on_not_found update_status files N/A aggregate_change_info N/A LoadChangelistInfo N/A N/A changename fail_on_not_found update_status N/A True False N/A N/A Gets information about a changelist.

  Args:
    fail_on_not_found: if True, this function will quit the program if the
      changelist doesn't exist.
    update_status: if True, the svn status will be updated for all the files
      and unchanged files will be removed.

  Returns: a ChangeInfo object.
   N/A info_file N/A GetChangelistInfoFile changename N/A N/A N/A N/A N/A os path exists info_file N/A N/A fail_on_not_found N/A N/A N/A ErrorExit N/A N/A Changelist  changename  not found. N/A N/A ChangeInfo changename N/A data N/A ReadFile info_file N/A split_data N/A N/A data split SEPARATOR 2 N/A N/A N/A len split_data 3 N/A N/A N/A N/A os remove info_file N/A N/A ErrorExit N/A Changelist file %s was corrupt and deleted info_file N/A issue N/A split_data N/A 0 N/A files N/A N/A line N/A N/A N/A split_data N/A 1 splitlines N/A N/A status N/A line N/A 7 N/A file N/A line N/A 7 N/A N/A N/A files append N/A status file N/A description N/A split_data N/A 2 N/A save False N/A update_status N/A N/A file files N/A N/A filename N/A N/A N/A os path join N/A GetRepositoryRoot N/A file N/A 1 N/A status N/A N/A RunShell N/A svn status filename N/A 7 N/A N/A status N/A N/A save True N/A N/A N/A files remove file N/A N/A N/A status N/A file N/A 0 N/A N/A save True N/A N/A files N/A N/A N/A files index file N/A status N/A file N/A 1 N/A change_info N/A ChangeInfo changename issue description files N/A save N/A N/A N/A N/A change_info Save N/A change_info N/A GetCLs N/A N/A N/A N/A N/A Returns a list of all the changelists in this repository. N/A cls N/A N/A os listdir N/A GetInfoDir N/A N/A CODEREVIEW_SETTINGS_FILE cls N/A N/A N/A N/A cls remove CODEREVIEW_SETTINGS_FILE N/A cls N/A GenerateChangeName N/A N/A N/A N/A N/A Generate a random changelist name. N/A N/A N/A random seed N/A current_cl_names N/A GetCLs N/A True N/A N/A cl_name N/A N/A N/A N/A N/A random choice N/A string ascii_lowercase N/A N/A random choice N/A string digits N/A N/A random choice N/A string ascii_lowercase N/A N/A random choice N/A string digits N/A N/A cl_name current_cl_names N/A N/A cl_name N/A GetModifiedFiles N/A N/A N/A N/A N/A Returns a set that maps from changelist name to (status,filename) tuples.

  Files not in a changelist have an empty changelist name.  Filenames are in
  relation to the top level directory of the current repository.  Note that
  only the current directory and subdirectories are scanned, in order to
  improve performance while still being flexible.
   N/A files N/A N/A dir_prefix N/A N/A N/A N/A N/A os getcwd N/A N/A len N/A GetRepositoryRoot strip N/A os sep N/A files_in_cl N/A N/A cl N/A GetCLs N/A N/A change_info N/A LoadChangelistInfo cl N/A N/A status filename N/A change_info files N/A N/A N/A files_in_cl N/A filename N/A change_info name N/A status N/A RunShell N/A svn status N/A line N/A N/A status splitlines N/A N/A N/A N/A N/A len line N/A N/A line N/A 0 ? N/A N/A N/A status N/A line N/A 7 N/A filename N/A line N/A 7 N/A dir_prefix N/A N/A filename N/A N/A N/A os path join dir_prefix filename N/A change_list_name N/A N/A filename files_in_cl N/A N/A change_list_name N/A files_in_cl N/A filename N/A N/A N/A N/A N/A files setdefault change_list_name N/A append N/A status filename N/A files N/A GetFilesNotInCL N/A N/A N/A N/A N/A Returns a list of tuples (status,filename) that aren't in any changelists.

  See docstring of GetModifiedFiles for information about path of files and
  which directories are scanned.
   N/A modified_files N/A GetModifiedFiles N/A N/A modified_files N/A N/A N/A N/A N/A modified_files N/A N/A SendToRietveld N/A N/A request_path payload content_type timeout N/A None application/octet-stream None N/A N/A Send a POST/GET to Rietveld.  Returns the response body. GetUserCredentials N/A N/A N/A N/A N/A Prompts the user for a username and password. N/A email N/A N/A upload GetEmail N/A password N/A N/A getpass getpass N/A Password for %s:  email N/A N/A email password N/A N/A server N/A GetCodeReviewSetting CODE_REVIEW_SERVER N/A rpc_server N/A N/A upload HttpRpcServer server GetUserCredentials host_override server save_cookies True N/A N/A N/A N/A N/A rpc_server Send request_path payload content_type timeout N/A N/A N/A N/A urllib2 URLError N/A e N/A N/A N/A timeout None N/A N/A N/A ErrorExit N/A Error accessing url %s request_path N/A N/A None N/A GetIssueDescription N/A N/A issue N/A N/A N/A Returns the issue description from Rietveld. N/A N/A SendToRietveld N/A N/A / issue /description N/A UnknownFiles N/A N/A extra_args N/A N/A N/A Runs svn status and prints unknown files.

  Any args in |extra_args| are passed to the tool to support giving alternate
  code locations.
   N/A args N/A svn status N/A args extra_args N/A p N/A N/A subprocess Popen args stdout N/A subprocess PIPE stderr N/A subprocess STDOUT shell use_shell N/A 1 N/A N/A line N/A N/A N/A p stdout readline N/A N/A line N/A N/A N/A N/A N/A line N/A 0 ? N/A N/A N/A N/A N/A N/A line N/A 7 strip N/A N/A N/A p wait N/A N/A N/A N/A p stdout close N/A Opened N/A N/A N/A N/A N/A Prints a list of modified files in the current directory down. N/A files N/A GetModifiedFiles N/A cl_keys N/A N/A files keys N/A N/A N/A cl_keys sort N/A cl_name cl_keys N/A N/A cl_name N/A N/A note N/A N/A N/A len N/A N/A LoadChangelistInfo cl_name files N/A len N/A files N/A cl_name N/A N/A note  (Note: this changelist contains files outside this directory) N/A N/A N/A N/A 
--- Changelist  cl_name note : N/A file N/A files N/A cl_name N/A N/A N/A N/A join file N/A Help N/A N/A argv N/A None N/A N/A N/A argv N/A N/A argv N/A 0 try N/A N/A N/A TryChange None N/A --help N/A N/A GCL is a wrapper for Subversion that simplifies working with groups of files.

Basic commands:
-----------------------------------------
   gcl change change_name
      Add/remove files to a changelist. Only scans the current directory and
      subdirectories.

   gcl upload change_name [-r reviewer1@gmail.com,reviewer2@gmail.com,...]
                          [--send_mail] [--no_try] [--no_presubmit]
      Uploads the changelist to the server for review.

   gcl commit change_name [--force]
      Commits the changelist to the repository.

   gcl lint change_name
      Check all the files in the changelist for possible style violations.

Advanced commands:
-----------------------------------------
   gcl delete change_name
      Deletes a changelist.

   gcl diff change_name
      Diffs all files in the changelist.

   gcl presubmit change_name
      Runs presubmit checks without uploading the changelist.

   gcl diff
      Diffs all files in the current directory and subdirectories that aren't in
      a changelist.

   gcl changes
      Lists all the the changelists and the files in them.

   gcl nothave [optional directory]
      Lists files unknown to Subversion.

   gcl opened
      Lists modified files in the current directory and subdirectories.

   gcl settings
      Print the code review settings for this directory.

   gcl status
      Lists modified and unknown files in the current directory and
      subdirectories.

   gcl try change_name
      Sends the change to the tryserver so a trybot can do a test run on your
      code. To send multiple changes as one path, use a comma-separated list
      of changenames.
      --> Use 'gcl help try' for more information.
 N/A GetEditor N/A N/A N/A N/A N/A editor N/A N/A N/A os environ get SVN_EDITOR N/A N/A editor N/A N/A editor N/A N/A N/A os environ get EDITOR N/A N/A editor N/A N/A N/A N/A N/A sys platform startswith win N/A N/A editor notepad N/A N/A editor vi N/A editor N/A GenerateDiff N/A N/A files root N/A None N/A N/A Returns a string containing the diff for the given file list.

  The files in the list should either be absolute paths or relative to the
  given root. If no root directory is provided, the repository root will be
  used.
   N/A previous_cwd N/A N/A os getcwd N/A N/A root None N/A N/A N/A N/A os chdir N/A GetRepositoryRoot N/A N/A N/A N/A os chdir root N/A diff N/A N/A file files N/A N/A N/A N/A N/A N/A GetSVNFileInfo file get Node Kind directory N/A N/A N/A N/A N/A N/A sys platform startswith win N/A N/A parent_dir N/A N/A tempfile gettempdir N/A N/A parent_dir N/A N/A sys path N/A 0 N/A bogus_dir N/A N/A N/A os path join parent_dir temp_svn_config N/A N/A N/A N/A N/A os path exists bogus_dir N/A N/A N/A N/A os mkdir bogus_dir N/A N/A N/A diff append N/A RunShell N/A svn diff --config-dir bogus_dir file N/A N/A N/A os chdir previous_cwd N/A N/A N/A join diff N/A UploadCL N/A N/A change_info args N/A N/A N/A N/A N/A N/A change_info FileList N/A N/A Nothing to upload, changelist is empty. N/A N/A N/A N/A --no_presubmit args N/A N/A N/A N/A DoPresubmitChecks change_info committing False N/A N/A N/A N/A N/A N/A args remove --no_presubmit N/A no_try N/A --no_try args N/A no_try N/A N/A N/A N/A args remove --no_try N/A N/A no_try N/A --no-try args N/A no_try N/A N/A N/A N/A args remove --no-try N/A N/A --send-mail args N/A N/A N/A N/A args remove --send-mail N/A N/A N/A args append --send_mail N/A upload_arg N/A upload.py -y N/A N/A N/A upload_arg append N/A --server= N/A GetCodeReviewSetting CODE_REVIEW_SERVER N/A N/A N/A upload_arg extend args N/A desc_file N/A N/A change_info issue N/A N/A found_message False N/A arg args N/A N/A N/A N/A N/A arg startswith --message N/A N/A arg startswith -m N/A N/A found_message True N/A N/A N/A found_message N/A N/A N/A N/A upload_arg append --message='' N/A N/A N/A upload_arg append N/A --issue= N/A change_info issue N/A N/A N/A handle desc_file N/A N/A tempfile mkstemp text True N/A N/A N/A os write handle N/A change_info description N/A N/A N/A os close handle N/A N/A N/A upload_arg append N/A --cc= N/A GetCodeReviewSetting CC_LIST N/A N/A N/A upload_arg append N/A N/A --description_file= desc_file N/A N/A change_info description N/A N/A subject N/A N/A change_info description N/A 77 N/A N/A N/A N/A subject find -1 N/A N/A subject N/A subject N/A N/A N/A subject find N/A N/A N/A N/A subject find -1 N/A N/A subject N/A subject N/A N/A N/A subject find N/A N/A N/A len N/A change_info description 77 N/A N/A subject N/A subject ... N/A N/A N/A upload_arg append N/A --message= subject N/A previous_cwd N/A N/A os getcwd N/A N/A N/A os chdir N/A GetRepositoryRoot N/A N/A N/A change_info patch None N/A N/A N/A change_info patch N/A GenerateDiff N/A N/A change_info FileList N/A N/A issue patchset N/A N/A upload RealMain upload_arg N/A change_info patch N/A N/A issue N/A issue N/A change_info issue N/A N/A N/A change_info issue issue N/A N/A N/A change_info Save N/A desc_file N/A N/A N/A N/A os remove desc_file N/A N/A SendToRietveld N/A /lint/issue%s_%s N/A issue patchset timeout 0.5 N/A N/A N/A no_try N/A N/A N/A N/A GetCodeReviewSetting TRY_ON_UPLOAD lower true N/A N/A N/A TryChange change_info N/A True N/A N/A N/A os chdir previous_cwd N/A PresubmitCL N/A N/A change_info N/A N/A N/A Reports what presubmit checks on the change would report. N/A N/A N/A N/A change_info FileList N/A N/A Nothing to presubmit check, changelist is empty. N/A N/A *** Presubmit checks for UPLOAD would report: *** N/A N/A DoPresubmitChecks change_info committing False N/A 

*** Presubmit checks for COMMIT would report: *** N/A N/A DoPresubmitChecks change_info committing True N/A TryChange N/A N/A change_info args swallow_exception patchset N/A False None N/A N/A Create a diff file of change_info and send it to the try server. N/A N/A N/A trychange N/A N/A N/A ImportError N/A N/A swallow_exception N/A N/A N/A N/A ErrorExit You need to install trychange.py to use the try server. N/A change_info N/A N/A N/A N/A trychange TryChange args N/A change_info name N/A N/A change_info FileList swallow_exception patchset N/A N/A N/A N/A trychange TryChange args N/A Commit N/A N/A change_info args N/A N/A N/A N/A N/A N/A change_info FileList N/A N/A Nothing to commit, changelist is empty. N/A N/A N/A N/A --no_presubmit args N/A N/A N/A N/A DoPresubmitChecks change_info committing True N/A N/A N/A N/A N/A N/A args remove --no_presubmit N/A no_tree_status_check N/A N/A --force args N/A -f args N/A N/A N/A no_tree_status_check N/A N/A IsTreeOpen N/A N/A Error: The tree is closed. Try again later or use --force to force the commit. May the --force be with you. N/A N/A commit_cmd N/A svn commit N/A filename N/A N/A change_info issue N/A N/A N/A change_info description N/A GetIssueDescription N/A change_info issue N/A commit_message N/A N/A N/A change_info description replace N/A N/A change_info issue N/A N/A commit_message N/A 
Review URL: http://%s/%s N/A N/A GetCodeReviewSetting CODE_REVIEW_SERVER N/A change_info issue N/A N/A handle commit_filename N/A N/A tempfile mkstemp text True N/A N/A N/A os write handle commit_message N/A N/A N/A os close handle N/A N/A handle targets_filename N/A N/A tempfile mkstemp text True N/A N/A N/A os write handle N/A N/A join N/A N/A change_info FileList N/A N/A N/A os close handle N/A commit_cmd N/A N/A --file= commit_filename N/A commit_cmd N/A N/A --targets= targets_filename N/A previous_cwd N/A N/A os getcwd N/A N/A N/A os chdir N/A GetRepositoryRoot N/A output N/A RunShell commit_cmd True N/A N/A N/A os remove commit_filename N/A N/A N/A os remove targets_filename N/A N/A N/A N/A output find Committed revision -1 N/A N/A N/A N/A change_info Delete N/A N/A change_info issue N/A N/A revision N/A N/A N/A N/A N/A N/A re compile .*?
Committed revision (\d+) N/A re DOTALL match output group 1 N/A viewvc_url N/A GetCodeReviewSetting VIEW_VC N/A N/A change_info description N/A N/A N/A N/A change_info description 

Committed:  viewvc_url revision N/A N/A N/A change_info CloseIssue N/A N/A N/A os chdir previous_cwd N/A Change N/A N/A change_info N/A N/A N/A Creates/edits a changelist. N/A N/A change_info issue N/A N/A N/A N/A description N/A GetIssueDescription N/A change_info issue N/A N/A N/A N/A urllib2 HTTPError N/A err N/A N/A N/A N/A err code 404 N/A N/A description N/A change_info description N/A N/A change_info issue N/A N/A N/A change_info Save N/A N/A N/A ErrorExit N/A Error getting the description from Rietveld:  err N/A N/A description N/A change_info description N/A other_files N/A GetFilesNotInCL N/A separator1 N/A N/A N/A N/A 
---All lines above this line become the description.
---Repository Root:  N/A GetRepositoryRoot 
---Paths in this changelist ( N/A change_info name ):
 N/A separator2 

---Paths modified but not in any changelist:

 N/A text N/A N/A N/A N/A N/A N/A description separator1 N/A N/A join N/A N/A N/A f N/A 0 N/A f N/A 1 N/A f N/A change_info files separator2 N/A N/A join N/A N/A N/A f N/A 0 N/A f N/A 1 N/A f other_files N/A N/A handle filename N/A N/A tempfile mkstemp text True N/A N/A N/A os write handle text N/A N/A N/A os close handle N/A N/A N/A os system N/A N/A N/A GetEditor filename N/A result N/A ReadFile filename N/A N/A N/A os remove filename N/A N/A result N/A N/A N/A split_result N/A N/A result split separator1 1 N/A N/A N/A len split_result 2 N/A N/A N/A ErrorExit N/A Don't modify the text starting with ---!

 result N/A new_description N/A split_result N/A 0 N/A cl_files_text N/A split_result N/A 1 N/A N/A new_description description N/A N/A N/A change_info description new_description N/A N/A change_info issue N/A N/A N/A N/A change_info UpdateRietveldDescription N/A new_cl_files N/A N/A line N/A N/A cl_files_text splitlines N/A N/A N/A N/A len line N/A N/A N/A N/A N/A line startswith --- N/A N/A N/A status N/A line N/A 7 N/A file N/A line N/A 7 N/A N/A N/A new_cl_files append N/A status file N/A N/A change_info files new_cl_files N/A N/A N/A change_info Save N/A N/A N/A change_info name  changelist saved. N/A N/A N/A change_info MissingTests N/A N/A N/A Warn N/A WARNING:  MISSING_TEST_MSG N/A N/A IGNORE_PATHS N/A webkit N/A CPP_EXTENSIONS N/A cpp cc h Lint N/A N/A change_info args N/A N/A N/A Runs cpplint.py on all the files in |change_info| N/A N/A N/A cpplint N/A N/A N/A ImportError N/A N/A N/A ErrorExit You need to install cpplint.py to lint C++ files. N/A previous_cwd N/A N/A os getcwd N/A N/A N/A os chdir N/A GetRepositoryRoot N/A filenames N/A N/A cpplint ParseArguments N/A args N/A N/A change_info FileList N/A file filenames N/A N/A N/A len N/A file N/A suffix CPP_EXTENSIONS N/A N/A file endswith suffix N/A N/A N/A len N/A file N/A prefix IGNORE_PATHS N/A N/A file startswith prefix N/A N/A N/A Ignoring non-Google styled file %s file N/A N/A N/A N/A cpplint ProcessFile file N/A N/A cpplint _cpplint_state verbose_level N/A N/A Total errors found: %d
 N/A N/A cpplint _cpplint_state error_count N/A N/A N/A os chdir previous_cwd N/A DoPresubmitChecks N/A N/A change_info committing N/A N/A N/A Imports presubmit, then calls presubmit.DoPresubmitChecks. N/A True N/A presubmit N/A result N/A N/A presubmit DoPresubmitChecks change_info committing verbose False output_stream N/A sys stdout input_stream N/A sys stdin N/A N/A result N/A N/A 
Presubmit errors, can't continue (use --no_presubmit to bypass) N/A result N/A Changes N/A N/A N/A N/A N/A Print all the changelists and their files. N/A cl N/A GetCLs N/A N/A change_info N/A LoadChangelistInfo cl True True N/A N/A N/A 
--- Changelist  N/A change_info name : N/A file N/A change_info files N/A N/A N/A N/A join file N/A main N/A N/A argv N/A None N/A N/A N/A argv None N/A N/A argv N/A sys argv N/A N/A N/A len argv 1 N/A N/A N/A Help N/A 0 N/A N/A N/A N/A N/A os path exists N/A GetInfoDir N/A N/A N/A N/A os mkdir N/A GetInfoDir N/A command N/A argv N/A 1 N/A N/A command opened N/A N/A N/A Opened N/A 0 N/A N/A command status N/A N/A N/A Opened N/A 
--- Not in any changelist: N/A N/A UnknownFiles N/A N/A 0 N/A N/A command nothave N/A N/A N/A UnknownFiles N/A argv N/A 2 N/A 0 N/A N/A command changes N/A N/A N/A Changes N/A 0 N/A N/A command help N/A N/A N/A Help N/A argv N/A 2 N/A 0 N/A N/A N/A command diff N/A N/A len argv 2 N/A N/A files N/A GetFilesNotInCL N/A N/A GenerateDiff N/A N/A x N/A 1 N/A x files N/A 0 N/A N/A command settings N/A N/A ignore N/A GetCodeReviewSetting UNKNOWN N/A CODEREVIEW_SETTINGS N/A 0 N/A N/A N/A len argv 2 N/A N/A N/A command change N/A N/A changename N/A GenerateChangeName N/A N/A N/A ErrorExit Need a changelist name. N/A N/A changename N/A argv N/A 2 N/A fail_on_not_found N/A N/A command try N/A command change N/A N/A N/A command try N/A N/A N/A changename find , -1 N/A N/A change_info N/A LoadChangelistInfoForMultiple changename True True N/A N/A change_info N/A LoadChangelistInfo changename fail_on_not_found True N/A N/A command change N/A N/A N/A Change change_info N/A N/A N/A command lint N/A N/A N/A Lint change_info N/A argv N/A 3 N/A N/A N/A command upload N/A N/A N/A UploadCL change_info N/A argv N/A 3 N/A N/A N/A command presubmit N/A N/A N/A PresubmitCL change_info N/A N/A N/A command N/A commit submit N/A N/A N/A Commit change_info N/A argv N/A 3 N/A N/A N/A command delete N/A N/A N/A N/A change_info Delete N/A N/A N/A command try N/A N/A N/A change_info files N/A N/A args N/A argv N/A 3 N/A N/A change_info None N/A args N/A argv N/A 2 N/A N/A TryChange change_info args N/A N/A args N/A svn command N/A root N/A GetRepositoryRoot N/A N/A N/A args extend N/A N/A N/A N/A os path join root x N/A x N/A N/A change_info FileList N/A N/A command diff N/A N/A moved_files N/A N/A change_info GetMoved root root N/A f moved_files N/A N/A N/A N/A args remove f N/A N/A DiffPrint f N/A N/A RunShell args True N/A 0 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main