<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def drop_post(self):
 """Remove .postXXXX postfix from version"""

        post_index = self.version.find('.post')
        if post_index >= 0:
            self.version = self.version[:post_index]