[server] drop support for antediluvian lgdb versions
That API was changed in 2010, before logilab-database was moved out of
logilab-common.
--- a/server/sqlutils.py Tue Oct 08 16:56:45 2013 +0200
+++ b/server/sqlutils.py Wed Oct 16 11:57:47 2013 +0200
@@ -41,11 +41,6 @@
SQL_PREFIX = 'cw_'
def _run_command(cmd):
- """backup/restore command are string w/ lgc < 0.47, lists with earlier versions
- """
- if isinstance(cmd, basestring):
- print '->', cmd
- return subprocess.call(cmd, shell=True)
print ' '.join(cmd)
return subprocess.call(cmd)