Module Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Import alias Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ExceptHandler body Raise Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A sys N/A psycopg2 N/A json N/A argparse N/A os N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument --uid type int N/A N/A N/A parser add_argument --gid type int N/A arguments N/A N/A parser parse_args N/A N/A N/A os setgid N/A arguments gid N/A N/A N/A os setuid N/A arguments uid N/A data N/A N/A json load N/A sys stdin N/A configuration N/A db N/A N/A psycopg2 connect N/A N/A configuration database PARAMETERS N/A cursor N/A N/A db cursor N/A N/A N/A N/A N/A cursor execute SELECT 1 FROM usersessions N/A N/A N/A sys exit 0 N/A N/A N/A N/A psycopg2 ProgrammingError N/A N/A N/A N/A db rollback N/A N/A N/A N/A N/A N/A cursor execute CREATE TABLE usersessions
                    ( key CHAR(28) PRIMARY KEY,
                      uid INTEGER NOT NULL REFERENCES users,
                      atime TIMESTAMP DEFAULT NOW() ) N/A N/A N/A db commit N/A N/A N/A db close