server/sqlutils.py
changeset 9321 212869484c65
parent 9267 24d9b86dfa54
child 9340 b1e933b0e850
--- 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)