summaryrefslogtreecommitdiffstats
path: root/forum/badges/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/badges/__init__.py')
-rwxr-xr-xforum/badges/__init__.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/forum/badges/__init__.py b/forum/badges/__init__.py
index 5ed245af..8d7cd097 100755
--- a/forum/badges/__init__.py
+++ b/forum/badges/__init__.py
@@ -1,10 +1,10 @@
-import re
-
-from forum.badges.base import BadgeImplementation
-from forum.modules import get_modules_script_classes
-
-ALL_BADGES = dict([
- (re.sub('BadgeImpl', '', name).lower(), cls) for name, cls
- in get_modules_script_classes('badges', BadgeImplementation).items()
- if not re.search('AbstractBadgeImpl$', name)
+import re
+
+from forum.badges.base import BadgeImplementation
+from forum.modules import get_modules_script_classes
+
+ALL_BADGES = dict([
+ (re.sub('BadgeImpl', '', name).lower(), cls) for name, cls
+ in get_modules_script_classes('badges', BadgeImplementation).items()
+ if not re.search('AbstractBadgeImpl$', name)
]) \ No newline at end of file