def print_version(self,url): tokens = url.split(',') tokens[-2:-1] = ['-druck'] return ','.join(tokens)