From: Leandro Lucarella Date: Thu, 24 Feb 2005 04:57:03 +0000 (+0000) Subject: Se cambia dbo por sqlobject que tiene más sentido. X-Git-Tag: svn_import~87 X-Git-Url: https://git.llucax.com/software/sercom-old.git/commitdiff_plain/8d9dafb4a8ff1f15bf9440c9709c88fb2983cb11?ds=sidebyside Se cambia dbo por sqlobject que tiene más sentido. --- diff --git a/src/sc_dbq b/src/sc_dbq index 5d016de..5ce3374 100755 --- a/src/sc_dbq +++ b/src/sc_dbq @@ -9,7 +9,7 @@ import sys import sqlobject # Módulos locales import sercom -from sercom.dbo import * +from sercom.sqlobject import * def ayuda(): return '''Uso: diff --git a/src/sc_test b/src/sc_test index 08096c6..00237e0 100755 --- a/src/sc_test +++ b/src/sc_test @@ -13,8 +13,8 @@ import datetime import subprocess # Módulos locales import sercom -import sercom.dbo -from sercom.dbo import * +import sercom.sqlobject +from sercom.sqlobject import * class secure_process: def __init__(self, chroot, uid, gid, cpu): @@ -271,7 +271,7 @@ os.seteuid(uid) intervalo = float(conf.get('general', 'intervalo')) # Utilizo el directorio de datos como base para todos los SQLObjects -sercom.dbo.dir_base = conf.get('general', 'data_dir') +sercom.sqlobject.dir_base = conf.get('general', 'data_dir') # Hasta que nos maten while continuar: diff --git a/src/sercom/dbo.py b/src/sercom/sqlobject.py similarity index 100% rename from src/sercom/dbo.py rename to src/sercom/sqlobject.py