<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _handle_getconfig(self,cfg_file,*args,**options):
 """Command 'supervisor getconfig' prints merged config to stdout."""

        if args:
            raise CommandError("supervisor getconfig takes no arguments")
        print cfg_file.read()
        return 0