<s> import sys , os , warnings <EOL> warnings . simplefilter ( "<STR_LIT:ignore>" , DeprecationWarning ) <EOL> from ncclient import manager <EOL> template = """<STR_LIT>""" <EOL> def demo ( host , user , names ) : <EOL> with manager . connect ( host = host , port = <NUM_LIT> , username = user ) as m : <EOL> with m . locked ( target = '<STR_LIT>' ) : <EOL> for n in names : <EOL> m . edit_config ( target = '<STR_LIT>' , config = template % n ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> demo ( sys . argv [ <NUM_LIT:1> ] , os . getenv ( "<STR_LIT>" ) , sys . argv [ <NUM_LIT:2> : ] ) </s>
