Skip to content

Commit

Permalink
Fix imports errors caused by previous commit.
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Oct 11, 2014
1 parent 7ad7611 commit 84a89c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 1 addition & 2 deletions ctagsplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import functools
import codecs
import locale
import sys
import os
import pprint
import re
Expand All @@ -21,8 +22,6 @@
import sublime_plugin
from sublime import status_message, error_message
except ImportError: # running tests
import sys

from tests.sublime_fake import sublime
from tests.sublime_fake import sublime_plugin

Expand Down
5 changes: 4 additions & 1 deletion test_ctags.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
else:
import unittest

import ctags
if sys.version_info < (3, 0):
import ctags
else:
from CTags import ctags

class CTagsTest(unittest.TestCase):
#
Expand Down
8 changes: 6 additions & 2 deletions test_ctagsplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@
else:
import unittest

import ctags
import ctagsplugin
if sys.version_info < (3, 0):
import ctags
import ctagsplugin
else:
from CTags import ctags
from CTags import ctagsplugin

class CTagsPluginTest(unittest.TestCase):
"""
Expand Down

0 comments on commit 84a89c7

Please sign in to comment.