1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-13 09:16:14 +01:00

Remove deprecated Request.get_creator()

This commit is contained in:
Daniel Mach 2022-08-25 09:44:45 +02:00
parent 8ca816755a
commit 20998385f3

View File

@ -2849,13 +2849,6 @@ class Request:
return self.actions
return [i for i in self.actions if i.type in types]
def get_creator(self):
"""Return the creator of the request.
This method is deprecated (use "creator" attribute instead").
"""
return self.creator
def to_xml(self):
""":return: object serialized to XML"""
root = ET.Element('request')