From 83ee9b8ad8f6e0e9d7ad963d4cf50856e96bc185 Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" <ara@tinyerp.com> Date: Mon, 18 Oct 2010 11:52:27 +0530 Subject: [PATCH] [FIX] Fix the account_report hashlib warning bzr revid: ara@tinyerp.com-20101018062227-glgvdh89pl03ndqu --- addons/account/test/account_report.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/account/test/account_report.yml b/addons/account/test/account_report.yml index d91e4771d6fd..172eb50afd50 100644 --- a/addons/account/test/account_report.yml +++ b/addons/account/test/account_report.yml @@ -68,6 +68,8 @@ import datetime from mx.DateTime import * import warnings + import md5 + import hashlib warnings.filterwarnings('ignore',".*struct integer overflow masking is deprecated*") start = datetime.date.fromtimestamp(time.mktime(time.strptime(time.strftime('%Y-%m-%d'), "%Y-%m-%d"))) start = DateTime(int(start.year), int(start.month), int(start.day)) -- GitLab