<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def current(config):
 """Display current revision"""

    with open(config, 'r'):
        main.current(yaml.load(open(config)))