Module Import alias alias alias alias alias alias alias alias alias TryExcept body ImportFrom alias handlers ExceptHandler body ImportFrom alias ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Print TupleLoad Str TupleLoad NameLoad AttributeLoad NameLoad attr Return NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Print Str Print Str Return NameLoad Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num If AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad If AttributeLoad NameLoad attr body With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body AugAssignAdd NameStore Num For TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse For TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareNotEq NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Print BinOpMod Str TupleLoad NameLoad NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Num Print BinOpMod Str NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Print BinOpMod Str NameLoad AugAssignAdd NameStore Num Print BinOpMod Str NameLoad orelse If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AugAssignAdd NameStore Num Assign NameStore ListLoad With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad keyword NameLoad AugAssignAdd NameStore Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Print BinOpMod Str TupleLoad NameLoad NameLoad orelse Print Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str attr NameLoad body Return NameLoad Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad ExceptHandler body Raise Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias TryExcept body Return AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body With Call NameLoad NameLoad Str NameStore body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body With Call NameLoad NameLoad Str NameStore body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Call NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults ListLoad Str body Expr Str For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad body For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults ListLoad ListLoad ListLoad Str Str body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias orelse ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias Import alias Import alias If UnaryOpNot Call NameLoad NameLoad NameLoad body Print Str Return NameLoad If CompareEq Call NameLoad NameLoad Num body Print Str Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq NameLoad Str body Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Assign NameStore Num For NameStore NameLoad body If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num AugAssignAdd NameStore Num Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Str attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num orelse Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Str Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num If CompareEq Call NameLoad NameLoad Num body Return Str orelse Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A sys os pwd argparse subprocess re time datetime tempfile N/A N/A scandir walk N/A N/A N/A os walk KeyboardInterruptError N/A Exception N/A N/A N/A main N/A N/A N/A N/A N/A args N/A args N/A parse_arguments N/A oldcurrdir N/A N/A os getcwd N/A N/A N/A os chdir N/A args folder N/A currdir N/A N/A os getcwd N/A curruser N/A N/A N/A pwd getpwuid N/A N/A os getuid pw_name N/A tmpdir N/A N/A tempfile gettempdir N/A N/A N/A N/A args folder startswith ./ N/A N/A N/A args folder N/A N/A args folder N/A 2 N/A N/A N/A N/A N/A os path abspath currdir N/A N/A N/A os path abspath N/A args folder N/A N/A N/A Current folder %s <> target folder %s, exiting.... N/A currdir N/A args folder N/A False N/A N/A N/A args linkdbfolder N/A args restore N/A N/A You cannot use --linkdbfolder in --restore mode. N/A Please put .symbolic-links.tree.txt in the root of --folder N/A False N/A linkdbfolder currdir N/A N/A args linkdbfolder N/A N/A linkdbfolder N/A args linkdbfolder N/A fcnt 0 N/A dcnt 0 N/A N/A args save N/A N/A N/A 
Scanning folder %s to archive symlinks ... currdir N/A N/A args single N/A N/A N/A open N/A N/A N/A os path join linkdbfolder .symbolic-links.tree.txt w sfile N/A N/A dcnt 1 N/A N/A root folders files N/A mywalk N/A args folder N/A N/A f files N/A N/A N/A N/A base N/A N/A root replace N/A currdir / N/A p N/A N/A N/A os path join base f N/A N/A N/A N/A os path islink p N/A N/A stat N/A getstat p N/A targ N/A N/A os readlink p N/A N/A N/A sfile write N/A %s|%s|%s
 N/A p targ N/A stat st_mtime N/A fcnt 1 N/A N/A args debug N/A N/A N/A N/A N/A sys stderr write N/A SYMLINK:%s
   TARGET:%s
 N/A p targ N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A sys stderr write N/A str err N/A N/A N/A N/A sys stderr write N/A N/A N/A root folders files N/A mywalk N/A args folder N/A N/A N/A N/A base N/A N/A root replace N/A currdir / N/A treefile N/A N/A N/A os path join base .symbolic-links.tree.txt N/A N/A N/A N/A os path exists treefile N/A N/A N/A N/A os remove treefile N/A oldroot N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A sys stderr write N/A str err N/A N/A N/A N/A sys stderr write N/A f files N/A N/A N/A N/A p N/A N/A N/A os path join base f N/A N/A N/A N/A os path islink p N/A N/A N/A oldroot root N/A N/A dcnt 1 N/A oldroot root N/A N/A N/A N/A sys stderr write N/A Symlink Store: %s
 treefile N/A stat N/A getstat p N/A targ N/A N/A os readlink p N/A N/A open N/A N/A N/A os path join root .symbolic-links.tree.txt a sfile N/A N/A N/A N/A sfile write N/A %s|%s|%s
 N/A f targ N/A stat st_mtime N/A fcnt 1 N/A N/A args debug N/A N/A N/A N/A N/A sys stderr write N/A   SYMLINK:%s
    TARGET:%s
 N/A p targ N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A sys stderr write N/A str err N/A N/A N/A N/A sys stderr write N/A N/A saved %i symlinks into %i .symbolic-links.tree.txt store(s) N/A fcnt dcnt N/A N/A N/A args clean N/A N/A cnt 0 N/A N/A recursively clean .symbolic-links.tree.txt from %s currdir N/A N/A root folders files N/A mywalk N/A args folder N/A N/A N/A args debug N/A N/A N/A cleaning folder %s root N/A p N/A N/A N/A os path join root .symbolic-links.tree.txt N/A N/A N/A N/A os path exists p N/A N/A N/A N/A os remove p N/A N/A deleted %s p N/A cnt 1 N/A N/A %i .symbolic-links.tree.txt file(s) have been removed. cnt N/A N/A N/A args restore N/A N/A N/A root folders files N/A mywalk N/A args folder N/A N/A base N/A N/A root replace N/A currdir / N/A treefile N/A N/A N/A os path join base .symbolic-links.tree.txt N/A N/A N/A N/A os path exists treefile N/A N/A N/A N/A N/A sys stderr write N/A restoring from Symlink Store: %s ...
  treefile N/A dcnt 1 N/A lines N/A N/A N/A open treefile r sfile N/A N/A lines N/A N/A sfile readlines N/A line lines N/A N/A N/A N/A N/A link targ mtime N/A N/A line split | N/A d N/A N/A N/A os path dirname link N/A d N/A N/A N/A N/A N/A N/A os path exists d N/A N/A N/A N/A os makedirs d N/A N/A link N/A N/A N/A os path join base link N/A N/A N/A N/A N/A os path islink link N/A args force N/A N/A N/A N/A os unlink link N/A N/A N/A N/A N/A os path islink link N/A N/A N/A N/A os symlink targ link N/A stat N/A getstat link N/A N/A N/A os utime link N/A N/A float mtime N/A float mtime follow_symlinks False N/A fcnt 1 N/A N/A args debug N/A N/A N/A N/A N/A sys stderr write N/A SYMLINK:%s
   TARGET:%s
 N/A link targ N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A sys stderr write N/A str err N/A N/A N/A N/A sys stderr write N/A N/A Restored %i symlinks from %i .symbolic-links.tree.txt store(s) N/A fcnt dcnt N/A N/A You need to use either --save, --save --single, --clean or --restore as a command option N/A N/A N/A os chdir oldcurrdir N/A startswithpath N/A N/A pathlist pathstr N/A N/A N/A  checks if at least one of the paths in a list of paths starts with a string  N/A path pathlist N/A N/A N/A N/A N/A N/A N/A os path join pathstr startswith path N/A N/A True N/A False N/A getstartpath N/A N/A pathlist pathstr N/A N/A N/A  return the path from pathlist that is the first part of pathstr N/A path pathlist N/A N/A N/A N/A N/A N/A N/A os path join pathstr startswith path N/A N/A path N/A N/A getstat N/A N/A path N/A N/A N/A  returns the stat information of a file N/A statinfo None N/A N/A N/A statinfo N/A N/A os lstat path N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A args debug N/A N/A N/A N/A N/A sys stderr write N/A str e N/A N/A N/A N/A statinfo N/A setfiletime N/A N/A path attr N/A atime N/A N/A  sets the a time of a file to the current time  N/A N/A N/A statinfo N/A getstat path N/A N/A N/A attr atime N/A attr all N/A N/A N/A N/A os utime path N/A N/A N/A time time N/A statinfo st_atime N/A N/A N/A attr mtime N/A attr all N/A N/A N/A N/A os utime path N/A N/A N/A time time N/A statinfo st_mtime N/A True N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A sys stderr write N/A str err N/A N/A N/A N/A sys stderr write N/A False N/A uid2user N/A N/A uidNumber N/A N/A N/A  attempts to convert uidNumber to username  N/A pwd N/A N/A N/A N/A N/A N/A pwd getpwuid N/A int uidNumber pw_name N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A sys stderr write N/A str err N/A N/A N/A N/A sys stderr write N/A N/A str uidNumber N/A list2file N/A N/A mylist path N/A N/A N/A  dumps a list into a text file, one line per item N/A N/A N/A N/A open path w f N/A N/A item mylist N/A N/A N/A N/A f write N/A N/A {}
 format item N/A True N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A sys stderr write N/A str err N/A N/A N/A N/A sys stderr write N/A False N/A pathlist2file N/A N/A mylist path root N/A N/A N/A  dumps a list into a text file, one line per item, but removes
         a root folder from all paths. Used for --files-from feature in rsync N/A N/A N/A N/A open path w f N/A N/A item mylist N/A N/A N/A N/A f write N/A N/A {}
 format N/A item N/A N/A len root N/A True N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A sys stderr write N/A str err N/A N/A N/A N/A sys stderr write N/A False N/A mywalk N/A N/A top skipdirs N/A N/A .snapshot N/A N/A  returns subset of os.walk   N/A N/A root dirs files N/A walk top topdown True onerror walkerr N/A N/A skipdir skipdirs N/A N/A N/A skipdir dirs N/A N/A N/A N/A dirs remove skipdir N/A N/A N/A root dirs files N/A walkerr N/A N/A oserr N/A N/A N/A N/A N/A N/A sys stderr write N/A str oserr N/A N/A N/A N/A sys stderr write N/A 0 N/A send_mail N/A N/A to subject text attachments cc bcc smtphost fromaddr N/A N/A N/A N/A N/A N/A N/A N/A N/A sys version_info N/A 0 2 N/A email.MIMEMultipart MIMEMultipart email.MIMEBase MIMEBase email.MIMEText MIMEText email.Utils COMMASPACE formatdate email Encoders N/A email.mime.multipart MIMEMultipart email.mime.base MIMEBase email.mime.text MIMEText email.utils COMMASPACE formatdate email encoders Encoders string Template N/A socket N/A smtplib N/A N/A N/A isinstance to list N/A N/A the 'to' parameter needs to be a list N/A False N/A N/A N/A len to 0 N/A N/A no 'to' email addresses N/A False N/A myhost N/A N/A socket getfqdn N/A N/A smtphost N/A N/A smtphost N/A get_mx_from_email_or_fqdn myhost N/A N/A smtphost N/A N/A N/A N/A N/A sys stderr write could not determine smtp mail host !
 N/A N/A fromaddr N/A N/A fromaddr N/A N/A N/A N/A N/A os path basename __file__ -no-reply@ N/A N/A . join N/A N/A N/A myhost split . N/A -2 N/A tc 0 N/A t to N/A N/A N/A @ t N/A N/A N/A to N/A tc N/A N/A t @ N/A N/A . join N/A N/A N/A myhost split . N/A -2 N/A tc 1 N/A message N/A MIMEMultipart N/A N/A message N/A From fromaddr N/A N/A message N/A To N/A N/A COMMASPACE join to N/A N/A message N/A Date N/A formatdate localtime True N/A N/A message N/A Subject subject N/A N/A message N/A Cc N/A N/A COMMASPACE join cc N/A N/A message N/A Bcc N/A N/A COMMASPACE join bcc N/A body N/A Template N/A N/A N/A This is a notification message from $application, running on 
 host $host. Please review the following message:

 $notify_text

If output is being captured, you may find additional
 information in your logs.
 N/A host_name N/A N/A socket gethostname N/A full_body N/A N/A body substitute host N/A N/A host_name upper notify_text text application N/A N/A N/A os path basename __file__ N/A N/A N/A message attach N/A MIMEText full_body N/A f attachments N/A N/A part N/A MIMEBase application octet-stream N/A N/A N/A part set_payload N/A N/A N/A open f rb read N/A N/A N/A Encoders encode_base64 part N/A N/A N/A part add_header Content-Disposition N/A attachment; filename="%s" N/A N/A N/A os path basename f N/A N/A N/A message attach part N/A addresses N/A N/A x to N/A N/A N/A N/A addresses append x N/A x cc N/A N/A N/A N/A addresses append x N/A x bcc N/A N/A N/A N/A addresses append x N/A smtp N/A N/A smtplib SMTP smtphost N/A N/A N/A smtp sendmail fromaddr addresses N/A N/A message as_string N/A N/A N/A smtp close N/A True N/A get_mx_from_email_or_fqdn N/A N/A addr N/A N/A N/A retrieve the first mail exchanger dns name from an email address. N/A MX N/A N/A re compile ^.*\s+mail exchanger = (?P<priority>\d+) (?P<host>\S+)\s*$ N/A N/A @ addr N/A N/A domain N/A N/A N/A addr rsplit @ 2 N/A 1 N/A N/A domain N/A N/A . join N/A N/A N/A addr rsplit . N/A -2 N/A p N/A N/A os popen N/A /usr/bin/nslookup -q=mx %s domain r N/A mxes N/A list N/A line p N/A N/A m N/A N/A MX match line N/A N/A m None N/A N/A N/A N/A mxes append N/A N/A N/A m group host N/A -1 N/A N/A N/A len mxes 0 N/A N/A N/A N/A N/A mxes N/A 0 N/A parse_arguments N/A N/A N/A N/A N/A 
    Gather command-line arguments.
     N/A parser N/A N/A argparse ArgumentParser prog swsymlinks description N/A save or restore all symlinks in a directory structure to a textfile .symbolic-links.tree.txt N/A N/A N/A parser add_argument --save -s dest save action store_true help save all symlinks to a text file default False N/A N/A N/A parser add_argument --single -n dest single action store_true help save all symlinks into a single file .symbolic-links.tree.txt at the root default False N/A N/A N/A parser add_argument --clean -c dest clean action store_true help delete all .symbolic-links.tree.txt files recursively default False N/A N/A N/A parser add_argument --restore -r dest restore action store_true help restore all symlinks from a text file default False N/A N/A N/A parser add_argument --force -o dest force action store_true help force restore, even if a symlink already exists. default False N/A N/A N/A parser add_argument --debug -g dest debug action store_true help print the symlink targets to STDERR default False N/A N/A N/A parser add_argument --email-notify -e dest email action store help notify this email address of any error  default N/A N/A N/A parser add_argument --linkdbfolder -l dest linkdbfolder action store help set folder location for .symbolic-links.tree.txt file N/A N/A N/A parser add_argument --folder -f dest folder action store help search this folder and below for files to remove N/A args N/A N/A parser parse_args N/A N/A N/A args folder N/A N/A N/A N/A parser error required option --folder not given ! N/A N/A args debug N/A N/A N/A DEBUG: Arguments/Options: %s args N/A args N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main