????
Current Path : /usr/sbin/ |
Current File : //usr/sbin/cln-channel |
#!/usr/bin/python import sys _LIBPATH = "/usr/share/rhn" # add to the path if need be if _LIBPATH not in sys.path: sys.path.append(_LIBPATH) from up2date_client import up2dateAuth from up2date_client import rhnserver s = rhnserver.RhnServer() print s.cln.change_channel_type(up2dateAuth.getSystemId(), (sys.argv[1]))