Fix syntastic warnings in powerline/__init__

This commit is contained in:
ZyX 2014-08-21 23:24:30 +04:00
parent 88a0b9075c
commit 95bdca87ec

View File

@ -349,7 +349,7 @@ class Powerline(object):
shutdown_event=None, shutdown_event=None,
config_loader=None): config_loader=None):
'''Do actual initialization. '''Do actual initialization.
__init__ function only stores the arguments and runs this function. This __init__ function only stores the arguments and runs this function. This
function exists for powerline to be able to reload itself: it is easier function exists for powerline to be able to reload itself: it is easier
to make ``__init__`` store arguments and call overriddable ``init`` than to make ``__init__`` store arguments and call overriddable ``init`` than
@ -773,7 +773,6 @@ class Powerline(object):
Not guaranteed to work properly, use it at your own risk. It Not guaranteed to work properly, use it at your own risk. It
may break your python code. may break your python code.
''' '''
from imp import reload
import sys import sys
modules = self.imported_modules | set((module for module in sys.modules if module.startswith('powerline'))) modules = self.imported_modules | set((module for module in sys.modules if module.startswith('powerline')))
modules_holder = [] modules_holder = []