Permalink
Browse files

The linter shows errors correctly

  • Loading branch information...
1 parent 2feaa91 commit 3ee58c9f5b1a0528821b5a6e6adeb33887807a05 @titoBouzout committed Jun 7, 2013
Showing with 6 additions and 6 deletions.
  1. +2 −1 SideBar.py
  2. +0 −5 SideBarDefaultDisable.py
  3. +2 −0 StatusBarFileSize.py
  4. +2 −0 StatusBarModifiedTime.py
View
@@ -23,6 +23,8 @@ def expandVars(path):
# A "directory" for this plugin is a "directory"
# A "directory" for a user is a "folder"
+s = {}
+
def checkVersion():
version = '2012.06.06.1611.2';
if s.get('version') != version:
@@ -189,7 +191,6 @@ def is_enabled(self, paths = []):
class SideBarFilesOpenWithCommand(sublime_plugin.WindowCommand):
def run(self, paths = [], application = "", extensions = ""):
- import sys
application_dir, application_name = os.path.split(application)
if extensions == '*':
View
@@ -5,11 +5,6 @@ def is_visible(self):
return False
def is_enabled(self):
return False
-class NewFileAtCommand(sublime_plugin.WindowCommand):
- def is_visible(self):
- return False
- def is_enabled(self):
- return False
class DeleteFileCommand(sublime_plugin.WindowCommand):
def is_visible(self):
return False
View
@@ -2,6 +2,8 @@
from .hurry.filesize import size
from os.path import getsize
+s = {}
+
def plugin_loaded():
global s
s = sublime.load_settings('Side Bar.sublime-settings')
View
@@ -1,6 +1,8 @@
import sublime, sublime_plugin, time
from os.path import getmtime
+s = {}
+
def plugin_loaded():
global s
s = sublime.load_settings('Side Bar.sublime-settings')

0 comments on commit 3ee58c9

Please sign in to comment.