Skip to content

Commit 94e79e6

Browse files
committed
Pep8 issues
1 parent b98f03a commit 94e79e6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pluginloader/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def load_file(self, filename, onlyif=True, args=None, kwargs=None):
1515

1616
for name, clazz in context.iteritems():
1717
if (isinstance(clazz, type)
18-
and self._apply_condition(onlyif, name, clazz)):
18+
and self._apply_condition(onlyif, name, clazz)):
1919
self.plugins[name] = clazz(*args, **kwargs)
2020

2121
def _apply_condition(self, condition, *args, **kwargs):

tests/acceptance/test_loader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def test_namedparameters_for_constructor(self):
6767
self.assertEquals(5, sut.plugins['Foo'].a)
6868

6969

70-
7170
@unittest.skip('Not ready yet')
7271
class plugins_in_directory(unittest.TestCase):
7372
def setUp(self):

0 commit comments

Comments
 (0)