sqlite3 library is not part of Gentoo (perhaps others) Python packages or installation bundle

This commit is contained in:
Bernardo Damele 2010-11-17 17:20:32 +00:00
parent a0df36beda
commit 360aff7a4d
3 changed files with 11 additions and 2 deletions

View File

@ -212,6 +212,9 @@ Nico Leidecker <nico@leidecker.info>
Gabriel Lima <pato@bugnet.com.br>
for reporting a couple of bugs
Mark Lowe <larkmowe@gmail.com>
for reporting a bug
Truong Duc Luong <luongductruong@gmail.com>
for reporting a minor bug

View File

@ -7,7 +7,10 @@ Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/)
See the file 'doc/COPYING' for copying permission
"""
try:
import sqlite3
except ImportError, _:
pass
class Replication:
"""

View File

@ -7,7 +7,10 @@ Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/)
See the file 'doc/COPYING' for copying permission
"""
try:
import sqlite3
except ImportError, _:
pass
from lib.core.convert import utf8encode
from lib.core.data import conf