Skip to content

Commit 76cddba

Browse files
committed
Fix pyupgrade
1 parent 91409e9 commit 76cddba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libcloud/compute/drivers/openstack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,8 +1259,8 @@ def __init__(self, id, tenant_id, name, description, driver, rules=None, extra=N
12591259
self.extra = extra or {}
12601260

12611261
def __repr__(self):
1262-
return "<OpenStackSecurityGroup id=%s tenant_id=%s name=%s \
1263-
description=%s>" % (self.id, self.tenant_id, self.name, self.description)
1262+
return "<OpenStackSecurityGroup id={} tenant_id={} name={} \
1263+
description={}>".format(self.id, self.tenant_id, self.name, self.description)
12641264

12651265

12661266
class OpenStackSecurityGroupRule:

0 commit comments

Comments
 (0)