aboutsummaryrefslogtreecommitdiff
path: root/discord/permissions.py
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-06-22 16:08:27 +0200
committerRapptz <[email protected]>2018-08-22 21:43:53 -0400
commitc8b49d37be8c4aabb2d5896708f9dff91ffae368 (patch)
treed0b49a0532a69f7c34b330d54cc57b65719ad1ea /discord/permissions.py
parent[lint] Remove unnecessary lambdas (diff)
downloaddiscord.py-c8b49d37be8c4aabb2d5896708f9dff91ffae368.tar.xz
discord.py-c8b49d37be8c4aabb2d5896708f9dff91ffae368.zip
[lint] Fix incorrect and inconsistent whitespace
Adjust whitespace to be consistent with the rest of the library.
Diffstat (limited to 'discord/permissions.py')
-rw-r--r--discord/permissions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/permissions.py b/discord/permissions.py
index ea96e399..518a31c7 100644
--- a/discord/permissions.py
+++ b/discord/permissions.py
@@ -493,7 +493,7 @@ class Permissions:
# after these 32 bits, there's 21 more unused ones technically
def augment_from_permissions(cls):
- cls.VALID_NAMES = { name for name in dir(Permissions) if isinstance(getattr(Permissions, name), property) }
+ cls.VALID_NAMES = {name for name in dir(Permissions) if isinstance(getattr(Permissions, name), property)}
# make descriptors for all the valid names
for name in cls.VALID_NAMES:
@@ -562,7 +562,7 @@ class PermissionOverwrite:
"""
allow = Permissions.none()
- deny = Permissions.none()
+ deny = Permissions.none()
for key, value in self._values.items():
if value is True: