Black code

This commit is contained in:
Michal Čihař 2020-12-30 09:45:36 +01:00
parent 9102cbf9d0
commit 086dce8fb6

View file

@ -21,7 +21,11 @@ class Tag(Resource):
def add(self, obj, id, item):
response = self._connection.session.post(
self.url + "/add",
data={"object": obj, "id": id, "item": item}
data={
"object": obj,
"id": id,
"item": item,
},
)
return self._raise_or_return_json(response)
@ -187,7 +191,6 @@ def get_user(userdata, attr="login", default=None):
return USERMAP[lemail].get(attr, default)
# Create tickets
for ticket in tickets:
label = "RT-{}".format(ticket["ticket"]["original_id"])