<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_extname(self):
 """ Get the name for this extension, can be an empty string """

        name = self._info['extname']
        if name.strip() == '':
            name = self._info['hduname']
        return name.strip()