<s> import sys <EOL> import config <EOL> from manager import BupManager <EOL> manager = BupManager ( config . read ( sys . argv [ <NUM_LIT:1> ] ) ) <EOL> def onstatus ( status , ctx ) : <EOL> print ( status ) <EOL> def onerror ( err , ctx ) : <EOL> sys . stderr . write ( err + "<STR_LIT:\n>" ) <EOL> callbacks = { <EOL> "<STR_LIT>" : onstatus , <EOL> "<STR_LIT>" : onerror <EOL> } <EOL> manager . backup ( callbacks ) </s>
