Skip to content

Commit

Permalink
Cleanup: removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
julen authored and jleclanche committed Oct 16, 2014
1 parent 2f9bc6f commit ee4e413
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pootle/depcheck.py
Expand Up @@ -50,14 +50,6 @@ def test_translate():
return None, None


def test_sqlite():
try:
from sqlite3 import dbapi2
return True
except ImportError:
return False


def test_django():
from django import VERSION, get_version
if VERSION >= DJANGO_MINIMUM_REQUIRED_VERSION:
Expand Down

2 comments on commit ee4e413

@dwaynebailey
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is that dead code? Isn't it used to detect if you are running on sqlite and warn you to use a real DB?

@unho
Copy link
Member

@unho unho commented on ee4e413 Oct 16, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is dead code for Evernote. They use only MySQL.

Please sign in to comment.