jonschlinkert / sublime-grunt-build

Grunt build system for Sublime Text 2
https://github.com/jonschlinkert/sublime-grunt-build
MIT License
25 stars 5 forks source link

sublime text 3 loading plugin syntax error in sublime_plugin.py line 73 #7

Open bcowgill opened 10 years ago

bcowgill commented 10 years ago

sublime text 3 ubuntu loading plugin syntax error in sublime_plugin.py line 73 Ubuntu 12.04.2 LTS \n \l python --version Python 2.7.3

reloading plugin sublime-grunt-build.grunt-build-on-save Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 73, in reload_plugin m = importlib.import_module(modulename) File "X/importlib/init.py", line 88, in import_module File "", line 1577, in _gcd_import File "", line 1558, in _find_and_load File "", line 1525, in _find_and_load_unlocked File "", line 586, in _check_name_wrapper File "", line 1023, in load_module File "", line 1004, in load_module File "", line 562, in module_for_loader_wrapper File "", line 854, in _load_module File "", line 981, in get_code File "", line 313, in _call_with_frames_removed File "/home/brent.cowgill/.config/sublime-text-3/Packages/sublime-grunt-build/grunt-build-on-save.py", line 6 print 'BuildGruntOnSave: on_post_save'

I changed the two print statements locally to print ('BuildGruntOnSave: on_post_save') to correct this but i'm no python programmer so not sure if this is best fix for compatability with older sublime.

jonschlinkert commented 10 years ago

thanks, I'll look into it