Skip to content

Commit

Permalink
Stopped being nice with Sublime Text on package_disabler.py by
Browse files Browse the repository at this point in the history
not bailing out when it should be ok/correctly set the
ignored_packages setting.
  • Loading branch information
evandrocoan committed Oct 19, 2018
1 parent 2c78a6b commit 4515d79
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package_control/package_disabler.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,9 @@ def _force_add(self, setting_name, packages_to_add, full_setting_path=None):
if self.debug: console_write( "currently `%s` packages: %s%s - %s", ( setting_name,
" "*(23-len(setting_name)), new_ignored_list, currently_ignored ) )

if len( new_ignored_list ) == len( currently_ignored ) \
and new_ignored_list == currently_ignored:
break
# if len( new_ignored_list ) == len( currently_ignored ) \
# and new_ignored_list == currently_ignored:
# break

return effectively_added

Expand Down Expand Up @@ -362,9 +362,9 @@ def _force_remove(self, setting_name, packages_to_remove, full_setting_path=None
if self.debug: console_write( "currently `%s` packages: %s%s - %s", ( setting_name,
" "*(23-len(setting_name)), new_ignored_list, currently_ignored ) )

if len( new_ignored_list ) == len( currently_ignored ) \
and new_ignored_list == currently_ignored:
break
# if len( new_ignored_list ) == len( currently_ignored ) \
# and new_ignored_list == currently_ignored:
# break

return effectively_added

Expand Down

0 comments on commit 4515d79

Please sign in to comment.