@@ -690,11 +690,13 @@ def process_control_event(self, e):
690690 _ ("Reloaded at %s because %s modified." )
691691 % (time .strftime ("%X" ), " & " .join (e .files_modified ))
692692 )
693-
693+
694694 elif isinstance (e , bpythonevents .BackgroundImportEvent ):
695- #self.comleters[1] should match to autocomplete's ImportCompletion class
695+ # self.comleters[1] should match to autocomplete's ImportCompletion class
696696 self .completers [1 ].try_to_import (e .module_name )
697- self .status_bar .pop_permanent_message ("Imported module %s" % e .module_name )
697+ self .status_bar .pop_permanent_message (
698+ "Imported module %s" % e .module_name
699+ )
698700
699701 else :
700702 raise ValueError ("Don't know how to handle event type: %r" % e )
@@ -894,20 +896,20 @@ def only_whitespace_left_of_cursor():
894896 for unused in range (to_add ):
895897 self .add_normal_character (" " )
896898 return
897-
898- #5. if line is `from a import` and tab then import module and attr
899+
900+ # 5. if line is `from a import` and tab then import module and attr
899901 line = self .current_line .split ()
900902 module_name = ""
901903 if "from" in line and "import" in line :
902- #returns <module> name if the line contains: "from <module> import"
904+ # returns <module> name if the line contains: "from <module> import"
903905 module_name = from_import_tab (self .current_line )
904906 print (module_name )
905907 if module_name :
906908 if module_name not in sys .modules :
907- self .status_bar .push_permanent_message ("Imported module %s" % module_name )
909+ self .status_bar .push_permanent_message (
910+ "Imported module %s" % module_name
911+ )
908912 self .background_import_event (module_name = module_name )
909-
910-
911913
912914 # run complete() if we don't already have matches
913915 if len (self .matches_iter .matches ) == 0 :
0 commit comments